Northeastern University · CS 7150 · Fall 2026
Short interactive reviews of the mathematics the lectures lean on. Each one runs in the browser and lets you change the numbers, so the picture is yours rather than the worked example's.
The forward and backward passes through a linear layer, one scalar at a time. Each output is a row of A dotted with x; each input gradient is found by nudging that input, following the nudge through its column of A to y, and letting g = ∂L/∂y carry it to the loss, so it is a column of A dotted with g. All of them together are gᵀA (that is, Aᵀg), and the product rule on each weight gives g xᵀ. Click any entry to see where it comes from.
Open the explainer →