in score(self, hidden, encoder_output)
35 elif self.method == 'general':
36 energy = self.attn(encoder_output)
---> 37 energy = hidden.dot(energy)
38 return energy
39
RuntimeError: 1D tensors expected, but got 2D and 2D tensors
I modify nothing.
Can anyone help me!?Thank you