Learn Before
Concept
Encoding Implicit Position Information with Zero-Padding
Beyond preserving spatial dimensions, zero-padding provides an unexpected representational advantage for convolutional neural networks. By extending the boundaries of an image with zero-valued 'whitespace', the network can learn to recognize these artificial borders, thereby allowing the CNN to implicitly encode and utilize spatial position information from within the input.
0
1
Updated 2026-05-12
Tags
D2L
Dive into Deep Learning @ D2L