code: def _forward_internal(
      self, vector: torch.Tensor, matrix: torch.Tensor
  ) -> torch.Tensor:
      return matrix.bmm(vector.unsqueeze(-1)).squeeze(-1)
  
imports: import torch
  from allennlp.modules.attention.attention import Attention
label_desc: Use image node_id 1 for calling the DotProductAttention obj's underlying member method code with example usage: obj._forward_internal(vector, matrix) and returns: matrix