Skip to content

Commit 7352977

Browse files
eigen-kfacebook-github-bot
authored andcommitted
Move ReplaceNopTransposeOrPermuteWithViewPass to common section. (#14485)
Summary: As stated in the title. Reviewed By: zonglinpeng Differential Revision: D82999560
1 parent fcd42bc commit 7352977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/cadence/aot/replace_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,6 +2168,7 @@ class CommonReplacePasses:
21682168
ReplacePT2QuantWithCadenceQuantPass,
21692169
ReplacePT2DequantWithCadenceDequantPass,
21702170
ReplacePowWithMulPass,
2171+
ReplaceNopTransposeOrPermuteWithViewPass,
21712172
]
21722173

21732174

@@ -2208,7 +2209,6 @@ class CadenceReplaceOpsInGraph:
22082209
ReplaceIm2RowWithViewPass,
22092210
MakeSliceAndCatDimOutermostPass,
22102211
ReplaceMatmulWithTransposedMatmulPass,
2211-
ReplaceNopTransposeOrPermuteWithViewPass,
22122212
ReplaceLinearWithFullyConnectedOpPass,
22132213
ReplaceScalarTensorWithFullPass,
22142214
ReplaceInfArgInFullWithValuePass,

0 commit comments

Comments
 (0)