Introduced on day 36
Convolution (filter, kernel)
A small grid of weights slid over an input; at each position it multiplies the patch under it by the weights and sums, producing one number per position.
In detail
In deep-learning libraries the operation is cross-correlation (the kernel is not flipped), which makes no difference because the weights are learned. Output length per axis is for input , kernel , padding , stride and dilation . A layer with filters over channels has weights in 2-D.