Matrix Multiplication for 1D #1214
Replies: 2 comments
-
|
I believe that behind the scenes torch just returns the dot product of the two vectors |
Beta Was this translation helpful? Give feedback.
-
[EDIT: Nov 15, 00:00]QUESTION: A: 1. Vector vs. Matrix
2. Matrix Multiplication RulesFor matrix multiplication (
Case 1:
|
Beta Was this translation helpful? Give feedback.
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