[pytorch]Migrate _th_ger to Aten and kill resize_scalar in codegen (#33792)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33792
Test Plan: Imported from OSS
Differential Revision: D20107158
Pulled By: glaringlee
fbshipit-source-id: bceddb2d39d3abf36f277daba537677312449c9c