Matrix Multiplication for 1D #1214
Unanswered
sociopath00
asked this question in
Q&A
Replies: 1 comment
-
I believe that behind the scenes torch just returns the dot product of the two vectors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the course, we have tensor = torch.tensor([1,2,3]) which has 1D only. In this case how matrix multiplication works. As per the rules it should have same inner dimensions. When we do
torch.matmul(tensor, tensor)
how the 2 rules of matrix multiplications are applied here?Beta Was this translation helpful? Give feedback.
All reactions