Every Stop on a Padded Sweep

ConvolutionEasy+10 XP+10

Every Stop on a Padded Sweep

A single-channel 30×3030 \times 3030×30 feature map is swept by one filter with these settings:

settingvalue
kernel5×55 \times 55×5
padding222 (a two-pixel border of zeros on every side)
stride444

As always, the window only stops where it fits completely inside the padded grid.

How many numbers are in the output map?

Give the exact integer.

stride
2
stops
9
output
3×3

Stride 2 jumps two pixels, so there are far fewer stops and less overlap.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.