Formula for Convolution Output Size with Stride and Padding
When applying a convolution with kernel height and width , total padding height and width , and strides and , the shape of the output generated from an input of height and width is:
This formula simplifies under certain conditions. If padding is set to and , the output shape reduces to . Furthermore, if the input dimensions are exactly divisible by the strides, the output shape simplifies to .
0
3
Contributors are:
Who are from:
Tags
Data Science
D2L
Dive into Deep Learning @ D2L
Related
Advantages of Strided Convolution
Limitations of Unpadded Convolution
Code Implementation of Stride in Convolution
Example of Two-Dimensional Cross-Correlation with Stride
Formula for Convolution Output Size with Stride and Padding
Stride Convention
Fractional Resolution Reduction via Stride
Preserving Dimensionality with Padding
Formula for Convolution Output Size with Stride and Padding