Commit 22a2049
Update more replace ops passes to new interface (pytorch#16063)
Summary:
Updated
- ReplaceSelectWithViewOpPass
- ReplaceMMWithAddMMPass
- ReplacePadWithCatPass
- ReplaceTrivialConvWithLinear
- ReplaceConvWithIm2RowAndLinear
- ReplaceTorchQuantizedEmbeddingWithCadenceQuantizedEmbedding
to use the new more efficient RemoveOrReplacePassInterface, which also correctly sets the modified bit.
Reviewed By: eigen-k, hsharma35
Differential Revision: D878216161 parent 93bf861 commit 22a2049
File tree
2 files changed
+366
-228
lines changed- backends/cadence/aot
- tests
2 files changed
+366
-228
lines changed
0 commit comments