What are the pros and cons of zero padding in a convolution layer?
I summarized from some other web pages:

Pros: Deep network because the output dimension could be constant after convolution

Saving image border information

Cons:

Waste of computational resources