add channels last support for AvgPool2d on CPU (#58725)
Summary:
replacement of: https://github.com/pytorch/pytorch/pull/48918
enable test case on AvgPool2d channels last for CPU
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58725
Reviewed By: ngimel
Differential Revision: D28593169
Pulled By: VitalyFedyunin
fbshipit-source-id: 5de870fe1d9dd961fb0dab5f9d531ab14614a160