The Corner's Share

ConvolutionHard+30 XP+30

The Corner's Share

A 6×66 \times 66×6 image is convolved with a 3×33 \times 33×3 filter at stride 1, twice over:

  • once with valid padding (no border at all),
  • once with same padding (a border of one ring of zeros).

Focus on a single pixel: the one in the top-left corner of the image. A pixel influences an output position whenever it lies anywhere inside that window — not only when it is at the window's centre.

In how many output positions does that corner pixel appear, in the valid run and in the same-padded run?

Hints

Solve it to unlock the solution

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

Select all that apply.