MaxPool2d: use channels_last format for both output and indice when input is channels_last (#61245)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61245
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D29557884
Pulled By: ezyang
fbshipit-source-id: 0d2b8cbaaf13411eefd7d867021bd6028d40e5cc