nn.AdaptiveAvgPool2d reference

How exactly nn.AdaptiveAvgPool2d is implemented on PyTorch? any paper or journal for references?

Thanks.

Hi. You can visit the official documentation and check the “SOURCE” implementation on the upper right corner. Visit the source code for the Pytorch’s Functional package (torch.nn.functional — PyTorch 1.9.0 documentation).

Hi, thanks for reply. I’m already do that but i’m still curious about the referal of implementation. Like LSTM documentation it is stated where implementation come from, or in Dropout documentation it’s also stated. did i miss something? especially for AdaptiveAvgPool2d