Generate cases for all ScalarTypes in Type functions that call to TH (#19230)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19230
ghimport-source-id: 81f360f2ebd137b8e7d8e885b85246cc219761aa
Differential Revision: D14927991
Pulled By: li-roy
fbshipit-source-id: 1b6a57918ecdc9c87858d3e50578edef0b6e7ad5