Remove __torch__ from custom class qualname
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/32301
Test Plan: Imported from OSS
Differential Revision: D19431645
Pulled By: jamesr66a
fbshipit-source-id: 198522a1641cb9f90fa4c614da4ca4162fadf456