For padding and stride, how to calculate the output size (machine learning)

Here, suppose the input size is (H, W), the filter size is (FH, FW), the output size is (OH, OW), the padding is P, and the stride is S.  At this time, the output size can be calculated by formula (7.1).

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/stn54999/article/details/113880766