I am trying to understand the behavior of max pooling during forward and backward propagation (especially backward). Unfortunately, I have trouble making sense of the C++ source 13.
I would really appreciate if you explain what is stored during the forward pass (if anything) and how such information is used during the backward pass. A short snippet of code in Python would be very much appreciated.
Thanks!