For the following parameter setting:
input size 112x112
kernel 3x3
stride 2
padding = 0
Ceil Mode =True
The output size is 56x56.
If the ceil mode is true, will there be any one-sided padding for input image at right and bottom before pooling?.
With 108th column of input, outsize will be 55, in order to get 56 output size we will move to 110th column and since filter size is 3 we need an extra column. So there should be single-column padding, right?
In the case of ceil mode, additional columns and rows are added at the right as well as at the down. (Not top and not left). It does not need to be one extra column. It depends on the stride value as well. I just wrote small code snippet where you can check how the populated values are pooled in either modes.