(D+2P-F)/S +1
where D is the input size of one dimension (assuming the input is a D by D matrix), P is the padding, F is the filter size, and S is the stride. Padding is extra pixels outside each side of boundary, stride is the number of pixels skips by filter when scanning the image.
No comments:
Post a Comment