Pooling Algorithm

https://d2l.ai/chapter_convolutional-neural-networks/pooling.html

May I ask why does max pooling performs better that average pooling?