How big is the output?: count where the window can start

The lecture’s question: a 3×3 filter on a 7×7 input, how big is the output? Every output is one place the window fits, so count the places. Press Play, then change the kernel, stride and padding.

A window stepped over an input grid, and the output it fills Left, the input grid, with zero padding drawn as dashed cells around it, a dot in every cell where the window can start, and the current window outlined; cells the window never reaches are hatched. Right, the output grid, one cell per start position, filling in as the window moves.
step
input W kernel K stride S padding P
try

A stack of layers: each one shrinks what it is given

Each activation drawn as a block, channels × height × width, with the front face to scale. Between blocks, one filter: K×K across the full depth of its input, making one number of the next block. Drag a filter to scan it across its input and watch which output it makes; the filters before and after it follow when they must, so each one always reads the cell the one before it made. drag anywhere else to turn the picture. Edit any layer below.

A stack of convolution layers drawn as shrinking 3D blocks Each activation tensor is a solid box: its front face is height by width, to scale, and its depth grows with the number of channels, not to scale. Between consecutive boxes a small orange box, the filter, sits in the input's top-left corner spanning its full depth, with thin lines converging to one cell of the next box.
preset