Question about the correctness of AdaptiveAvgPool2d

QQ图片20211207170427

In my view, the results of the AdaptiveAvgPool2d and AvgPool2d should be the same. But I try the above code, it turns out that they are not the same. Why can help me solve this problem?