AI by Hand ✍️

AI by Hand ✍️

Combine Rows

Matrix Multiplication: 7 of 16

Prof. Tom Yeh's avatar
Prof. Tom Yeh
Jan 16, 2026
∙ Paid

Library › Matrix Multiplication

  1. Calculate

  2. Complexity

  3. Shape

  4. Identity

  5. Scale

  6. Shift

  7. Combine Rows

  8. Combine Columns

  9. Not Commutative

  10. Associative

  11. Distributive

  12. Chain

  13. Transpose

  14. Inverse

  15. Linear Equations

  16. Tiled Algorithm

In this chapter you will practice building the output as a weighted combination of the rows of the right matrix. A row of weights on the left sets how much of each row in the right matrix to add together, giving w₁·a + w₂·b. This view turns matrix multiplication into mixing rows, which is exactly what a layer does to its inputs.




The rest of the chapter (Page 105 ~ 127) and the solutions are available to AI by Hand Academy members. You can become a member via a paid Substack subscription.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Tom Yeh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture