add maxpool2D, add more tests, handle integer parameters for maxpool2D (#61188)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61188
Test Plan: Imported from OSS
Reviewed By: jamesr66a
Differential Revision: D29626303
Pulled By: migeed-z
fbshipit-source-id: 32309cd1eb1189beaba63017653b3aeccdf2761d