Revert "Remove __torch__ from custom class qualname" (#32514)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32514
This reverts commit c7fdf5b251c6fecd5d78b4f33d30bd77ca3f841c.
Test Plan: Imported from OSS
Differential Revision: D19525532
Pulled By: jamesr66a
fbshipit-source-id: 126f4e87250a2ac739bd7aa161a0f7b39f143d38