Hy there!
I am bit confused. How would you do a dot product between 2 different dimensions tensors.
can you please share some code with me?
for example
x = torch.randn(2, 3, 10) # batch_size X number_of_sequence X hidden_size
y = torch.randn(2, 3, 5) # batch_size X number_of_sequence X embedding_size
and I need the output to be also of shape (2, 3, 10).
How can I do this?