Learn Before
Concept

Padding in Convolutional Layers

To resolve the issues of shrinking output dimensions and underutilized border pixels, we can apply padding to our input. Padding involves adding extra rows and columns of filler pixels—typically with values set to zero—around the boundary of the input image, effectively increasing its spatial dimensions before the cross-correlation operation is computed.

0

1

Updated 2026-05-12

Tags

Data Science

D2L

Dive into Deep Learning @ D2L