diff --git a/backends/arm/_passes/arm_pass_manager.py b/backends/arm/_passes/arm_pass_manager.py index ebe6c4591e6..fad5bd93a90 100644 --- a/backends/arm/_passes/arm_pass_manager.py +++ b/backends/arm/_passes/arm_pass_manager.py @@ -526,6 +526,7 @@ def _tosa_pipeline( DecomposeSumPass(), InsertTableOpsPass(exported_program), RemoveNoopPass(), + InsertDataLayoutCastsPass(), ] ) @@ -558,7 +559,6 @@ def _tosa_pipeline( EnsureUniqueOutputNodesPass(), RemoveNoopPass(), InsertRescalePass(), - InsertDataLayoutCastsPass(), ] )