Last answered:

15 Aug 2023

Posted on:

08 Aug 2023

0

at 1:32, if the input is n*n martix then how can it be n/2*n/2 ? i don't get the point here ?

at 1:32, if the input is n*n martix then how can it be n/2*n/2 ? i don't get the point here 

please , explain ...

1 answers ( 0 marked as helpful)
Instructor
Posted on:

15 Aug 2023

1

Hi,


The point here is that the input is N x N, but the output is transformed to N/2 x N/2. This is because we are using 2x2 MaxPool with stride 2 - in simpler terms, we are dividing the original image into tiny squares that are 2x2, and we're taking just the max value in this small square. So, we are effectively converting a small 2x2 square into a single value, a single pixel.


Since this is done for the whole image, we are basically halving the dimensions of the whole image.


Hope this helps, hit me up if this doesn't clear it for you.


Best,

Nikola, 365 Team

Submit an answer