Convolution as a constrained matrix: a fully connected layer, with zeros and ties
A convolution layer is a linear layer y = Mx whose matrix is not free: most entries are forced to zero, and the rest are forced to be equal along diagonals. Press Play to impose the two constraints one at a time. Point at any entry to see which entries share its weight; drag a number to change it.