Closed bluemandora closed 7 years ago
In pool1, the input spatial shape is 112 and ceil_mode = false. So the output shape will be floor((112-3+2)/2+1) = 56 Does this equal to "padding = 'SAME'" in tensorflow? Which output_spatial_shape[i] = ceil(input_spatial_shape[i] / strides[i])
floor((112-3+2)/2+1) = 56
output_spatial_shape[i] = ceil(input_spatial_shape[i] / strides[i])
The output shape of this pooling layer is the same as 3x3 convolution with stride=2 in 'same' mode. So you may be right.
In pool1, the input spatial shape is 112 and ceil_mode = false. So the output shape will be
floor((112-3+2)/2+1) = 56
Does this equal to "padding = 'SAME'" in tensorflow? Whichoutput_spatial_shape[i] = ceil(input_spatial_shape[i] / strides[i])