Learn Before
Concept
Computational Benefits of Zero-Padding
The standard practice of padding images with zeros offers significant computational efficiency because adding zeros is mathematically trivial. Furthermore, deep learning operators can be specifically engineered to take advantage of zero-padding implicitly, executing the operation without needing to allocate any additional memory for the expanded tensor.
0
1
Updated 2026-05-12
Tags
D2L
Dive into Deep Learning @ D2L