考虑最通用的情形

input width、height:  i     (square)

zero padding:           p

kernal size:              k

strides:                     s

 

output width=output height= ( i + 2*p - k ) / s + 1

更多文章请关注《万象专栏》