Hello. I was trying to understand the architecture of VGG19_bn and I stumbled upon something interesting.
After the convolution layers,  there is an adaptive average pooling(7,7). My understanding is that 7x7 is the requested output of the average pooling. However, the feature maps that feed into the average pooling are n x 7 x 7, meaning that the average will happen across each single element (so average of a 1x1 element, result in the element itself).  I checked stepping into the code that the output of the average pooling is exactly the same as it’s input, both in terms of size and in terms of valus.
Why is the average pooling even there, since it’s not doing anything? Is this a mistake?
Thanks