Hi，I want to my layer has different size. When I use the nn.MaxPool2d([2,1]),which mean that the height of layer’s output will reduce to half and the width will keep same size, I get NAN of this layer.
However, I use the nn.MaxPool2d([2,2]),the layer’output has the normal value.  Is there some error about the parameter of MaxPool2d？
thanks for someone‘s solution.