Vision & Generative Media

What Is Padding in Neural Networks?

Padding adds extra pixels, often zeros, around the border of an input so filters can process edges and control output size. It helps prevent shrinking of feature maps across layers.

Further reading

Read more about padding — articles and blogs from around the web: