Closed
Description
It seems that AvgPooling gets the window without the padding cells, but when averaging the sum, the size should including the number of padding cells. The code here seems get the wrong size which not including the number of padding cells.
Line 2161 in 562599e
Line 2168 in 562599e
I have tested and checked the result to validate this.
It seems that the GPU code also has the same question, but I haven't validated it.
Paddle/paddle/cuda/src/hl_cuda_cnn.cu
Line 225 in 3e6f768
Metadata
Metadata
Assignees
Labels
No labels