Skip to content

How would we multiply a tensor with a dimension of three or more? #843

Answered by IlanVinograd
kunal-1320 asked this question in Q&A
Discussion options

You must be logged in to vote

Ow sorry I did'nt understand the question in the first time.

For multiplying matrices, it's essential that the number of columns in the first matrix matches the number of rows in the second matrix. This rule is also applicable to tensors of higher orders (such as three-dimensional tensors), but its interpretation becomes somewhat more complex due to the addition of extra dimensions.

In the case of three-dimensional tensors, which can be thought of as stacks of matrices, the matching size rule for multiplication is modified. When multiplying two three-dimensional tensors, seen as stacks of matrices, each matrix from the first tensor is multiplied by the corresponding matrix in the second t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kunal-1320
Comment options

@IlanVinograd
Comment options

Answer selected by kunal-1320
@kunal-1320
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants