Hello.
Welcome back.
In convolution or neuronal networks we use polling layer to reduce the size of the inputs.
Therefore speeding up the computation.
There are two popular types of pooling.
We have the Max pool and the outreach pool in taking those four by four matrix as an example.
When we apply Max pool we get this 2 by 2 matrix shown up here.
How did we derive this.
This is quite simple.
For every consecutive two by two block we take the maximum number.
Here we have applied a filter of size 2 and a stride of 2 described in the photo size are the hyper
parameters of the pool in there an average pooling instead of taking the maximum number we take the
average of the numbers as we can see right here.
Down here.