Glossary · Phase 2 · Math, when you need it
Matrix multiplication
Combining two tables of numbers by taking dot products of rows with columns. It is most of the arithmetic inside a neural network.
Try it now
Three nested loops: pick a row i of A and a column j of B, then add up the products along k. C[0][0] = 1×5 + 2×7 = 19.
Learn it properly
Matrix multiplication · Many dot products at once: what a neural network layer computes. About 30 minutes.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.