fix batchnorm2d issue when input is non contiguous (#63392)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63392
Test Plan: Imported from OSS
Reviewed By: ejguan
Differential Revision: D30476317
Pulled By: VitalyFedyunin
fbshipit-source-id: 03055a0aec21cf2c029b6f32315da2b09cb722d0