make InstanceNorm1d raise an error if the input is 2D (#11992)
Summary:
Resolves #11991 .
Any comment is welcome.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11992
Differential Revision: D14680974
Pulled By: soumith
fbshipit-source-id: 8e287a9c32bf43b35edc9d127f16ed6b72c61d91