Labs · Vectors

Matrix multiplication

Every cell of the product is one dot product — rows of A against columns of B.

Try this ▶ Change m and n to different sizes and watch matrix C reshape — C always has m rows and n columns, regardless of the shared middle dimension k.

Computing…

Matrix multiplication — Labs — TransformerLab