Closed meetdave06 closed 6 years ago
@meetdave06 For stride one, "SAME" padding means that the output spacial dimensions equal the input spacial dimensions. When you have "SAME" padding and a stride greater than one, the padding added is the minimum amount so that your final filter fits and doesn't overhang. It's easy to see that in this case, that's a padding of 1 on either side, and cuts the spacial dimensions in half each time it happens.
In the resBlock above, all the three convolution layers have padding as SAME. Then how does the input image height and width decrease during the encoding part?