Padding

/ˈpædɪŋ/

Adding extra pixels around the border of input data to control output size in convolution operations.

In italiano: Padding

Padding preserves spatial dimensions and prevents information loss at borders. 'Valid' padding = no padding, 'Same' padding = output size matches input. Common: zero-padding.

Examples

  • Zero padding for same output size
  • Valid padding for reduction
  • Preserving border information