pytorch
2d9f482d - [fx] Subgraph rewriter matching on attributes (#98604)

Commit
1 year ago
[fx] Subgraph rewriter matching on attributes (#98604) Fixes #68534 Similar to how submodules are added, if there already exists an attribute with the same name in `gm` as in `replacement`, the attribute value in `gm` will take precedence. Pull Request resolved: https://github.com/pytorch/pytorch/pull/98604 Approved by: https://github.com/andrewor14, https://github.com/SherlockNoMad
Author
Committer
Parents
Loading