I know that AdaptiveAvgPool2d is able to give the outputs of any defined size, but I don’t know what is the size of filter and stride it indeed use during calculation.
For example: if the input size is (14, 14), and the output size is (3, 3). What is the corresponding filter parameter? Suppose padding is 0, it seems there are multiple solutions.

filter 10x10 with stride 2x2;

filter 8x8 with stride 3x3;

filter 6x6 with stride 4x4;

Which one is correct? What is the calculation principle?