[JIT] Trace uses of torchbind classes as module attributes (#32833)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32833
ghstack-source-id: 97736046
Test Plan: Imported from OSS
Differential Revision: D19645714
fbshipit-source-id: 10a7271f13c3588aea666b44b916e90ba7b3c666