Check contiguous to dispatch to NHWC cuda template (#62839)
Summary:
follow up of https://github.com/pytorch/pytorch/issues/62773
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62839
Reviewed By: H-Huang
Differential Revision: D30142906
Pulled By: ngimel
fbshipit-source-id: 600a7ad240a4a1827352eab8c8cbc98240d693f0