[graph][quant] Enable accessing child/grandchild modules in forward (#37045)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37045
Fixes to get the correct path for child modules
Test Plan: Imported from OSS
Differential Revision: D21283698
fbshipit-source-id: 48a7f7762df86a5177ea117ab0cd7cb1d6e6209d