Learn Before
Concept

Convolution Output Size Formula After Padding

In general, if we add a total of php_h rows of padding (roughly half on top and half on bottom) and a total of pwp_w columns of padding (roughly half on the left and half on the right), the output shape will be: (nhkh+2ph+1)×(nwkw+2pw+1)(n_h−k_h+ 2p_h+1)×(n_w−k_w+2p_w+1)

0

2

Updated 2021-04-14

Tags

Data Science