I am trying to understand the ResNet dimensions, but got stuck at the first layer. We are passing a [224x224x3] image into 64 filters with kernel size 7x7 and stride=2. According to the ResNet source code from pytorch we are also using zero padding of size 3. The output size should be 112, but I get a output size of 112.5. To get an output size of 112 we need padding of 2.5.. See:
I do not understand how the output of 112 is created. Is the padding adjusted by pytorch automatically to match floor (output)?