Convolution calculation parameters

parameter

  • Enter the picture: WXW
  • Kernel size:F X F
  • Step: S
  • Padding the number of pixels: P

Filling quantity required to meet the same output

\[ P = (W(S-1)+F -S)/2 \]

Output image size

\ [N = (W - F + 2P) / S + 1, remove the entire \]

Guess you like

Origin www.cnblogs.com/icodeworld/p/11516990.html