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

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

input     w*h

output   wo*ho

filter   F

Padding  P

stride    S

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

猜你喜欢

转载自blog.csdn.net/Docterzzz/article/details/79452217