Inside the Matrix

Oct 20, 2023

Matrix multiplications (matmuls) are the building blocks of today’s ML models. This note presents mm, a visualization tool for matmuls and compositions of matmuls.

Because mm uses all three spatial dimensions, it helps build intuition and spark ideas with less cognitive overhead than the usual squares-on-paper idioms, especially (though not only) for visual/spatial thinkers.’s visualization approach is based on the premise that matrix multiplication is fundamentally a three-dimensional operation.

↑ up