Are you referring to this ?
https://pytorch.org/docs/stable/_modules/torch/nn/modules/pooling.html 30
I am wondering why there is no error or exception caught, if I try to standard max pool over a rectangular input with a non-fitting square kernel…