Factor out getInvokedMethod in `InsertQuantDeQuantHelper` (#30860)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30860
att
Test Plan:
.
Imported from OSS
Differential Revision: D18849021
fbshipit-source-id: e5ff260f2f4e88075b0c6b32ccfd8272053ccc41