allennlp.modules.attention.dot_product_attention#

DotProductAttention#

DotProductAttention(self, normalize:bool=True) -> None

Computes attention between a vector and a matrix using dot product.

Registered as an Attention with name "dot_product".