Replace more usages of Type with DeprecatedTypeProperties (#19093)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19093
ghimport-source-id: a82e3dce912a173b42a6a7e35eb1302d9f334e03
Differential Revision: D14865520
Pulled By: li-roy
fbshipit-source-id: b1a8bf32f87920ce8d82f990d670477bc79d0ca7