SubgraphRewriter: Add a support for arbitrary replacement graphs in subgraph rewriter. (#20084)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20084
ghimport-source-id: 91b3b0b66da00c6592a2d57c8f2a88a73c019d1a
Differential Revision: D15190191
Pulled By: ZolotukhinM
fbshipit-source-id: d57ba6b6790ea2fd277b2feb3f4a58895ed15486
Author
Mikhail Zolotukhin