Pytorch conv2d 关于输入输出尺寸的介绍

本来不是啥比较难的东西,因为没怎么用,又忘记了,放在这儿,做个备忘!!

input     w*h

output   wo*ho

filter   F

Padding  P

stride    S

wo = (w - F + 2*P)/S +1

你可能感兴趣的:(机器学习,Python)