One Number Per Map

Convolutional ArchitecturesEasy+10 XP+10

One Number Per Map

A backbone for a 100-class problem ends with a feature block of

5×5×5125 \times 5 \times 5125×5×512

Two heads are on the table. Neither has a hidden layer — both go straight into a dense output layer with one unit per class.

headwhat it does before the dense output layer
flatten headflattens the whole block into one long vector
GAP headglobal average pooling: averages each feature map down to a single number

Count only the weights of the dense output layer in each head. Ignore biases, and remember that pooling has nothing to train.

How many weights does switching from the flatten head to the GAP head remove?

Give your answer in millions, rounded to 2 decimal places (so 3,500,000 would be entered as 3.50).

Hints

Solve it to unlock the solution

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