Fix mypy type hint for AdaptiveAvgPool2,3d, AdaptiveMaxPool2,3d (#49963)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/49918
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49963
Reviewed By: mrshenli, heitorschueroff
Differential Revision: D25760110
Pulled By: ezyang
fbshipit-source-id: aeb655b784689544000ea3b948f7d6d025aee441