Matching a Filter Bank Value for Value

Images as DataMedium+20 XP+20

Matching a Filter Bank Value for Value

A 48×4848 \times 4848×48 grayscale image (a single channel) is about to go through one of two first layers. Both must hand the next stage the same number of values.

Design C (convolutional). 888 filters, each 3×33 \times 33×3. Each filter slides across the image one step at a time, stops only where its whole window fits inside the image, and produces one feature map.

Design F (flat). The image is unrolled into a list and fed to an ordinary layer where every input connects to every hidden unit. To keep the comparison fair, this layer gets exactly as many hidden units as Design C outputs values in total.

Count weights only and ignore biases.

How many times more weights does Design F hold than Design C?

Give the exact integer.

filter weights
−1 0 1 · −1 0 1 · −1 0 1
unchanged at all 16 positions

Hints

Solve it to unlock the solution

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