Attempt to workaround MSVC17 static constexpr bug
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33002
Test Plan: Imported from OSS
Differential Revision: D19739097
Pulled By: jamesr66a
fbshipit-source-id: 7ce54ddb1f56a741d88d3215b154192171c54dfa