Solved by Pedro_Costa in post #2 
              
              
                Hi, 
In those situations Conv2d discards the last columns/rows of the input, after padding, as mentioned in PyTorch documentation: Conv2d. 
In the particular case you are mentioning, that is the same as having a right/bottom padding of 2 instead of 3, as the last column/row is discarded. Translating…