QUESTION 2 OF 10

What dimensions must agree for matrix multiplication?

Reveal the answer and explore the explanation.

02
EasyCore

What dimensions must agree for matrix multiplication?

Answer
Answer

Combines rows of the first matrix with columns of the second; inner dimensions must match.

Practical example

Transform a batch of feature vectors using a weight matrix.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As