What is half padding?
half means that there is a padding of ( filter rows // 2 rows , filter columns // 2 columns ) same means there are some padding around input or feature map, making the output feature map's size same as the input's. valid means there is no padding around input or feature map, i.e. padding of dimension (0,0) .
What does padding 1 mean in CNN?
Padding is to add extra pixels outside the image. And zero padding means every pixel value that you add is zero. Let's see some figures. The black color part is the original size of the image. If zero padding = 1, there will be one pixel thick around the original image with pixel value = 0.