[quant][graphmode][fx] Support standalone_module_class (#47705)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47705
Test Plan: Imported from OSS
Reviewed By: z-a-f
Differential Revision: D24872380
fbshipit-source-id: db2ec7ba03da27203033fbebc11666be572622bb