SAME and VALID padding

SAME and VALID padding are two common types of padding using in CNN (Convolution Neural Network) models. These padding convention types are mainly, used in TensorFlow.

The general meaning of SAME and VALID padding are:

SAME: Expects padding to be such that the input and output is of same size (provided stride=1) (pad value = kernel size)VALID: Padding value is set to 0

Note: SAME padding is different in different frameworks. We have explained the meaning/ calculation of SAME padding in Keras ...

 •  0 comments  •  flag
Share on Twitter
Published on March 04, 2021 23:31
No comments have been added yet.