pytorch
957a9b63 - fx.replace_pattern accepts pattern/replacement as GraphModule (#88479)

Commit
2 years ago
fx.replace_pattern accepts pattern/replacement as GraphModule (#88479) Symbolic tracer is no longer the default tracer to produce fx graph. SubgraphRewriter should thus accept a raw GraphModule, rather than use symbolic tracer by default. Pull Request resolved: https://github.com/pytorch/pytorch/pull/88479 Approved by: https://github.com/jerryzh168
Author
Committer
Parents
Loading