Macro generate ScalarTypeToCPPType, including all ScalarTypes. (#38071)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38071
Fixes: https://github.com/pytorch/pytorch/issues/34826
Test Plan: Imported from OSS
Reviewed By: zou3519
Differential Revision: D21476009
Pulled By: gchanan
fbshipit-source-id: 96fa9d81f9581179c674e6af2dd903930c8def68