Skip to content

Commit ddd1cd7

Browse files
cccclaifacebook-github-bot
authored andcommitted
fix permute_memory_format_pass (#684)
Summary: Pull Request resolved: #684 Need it by tosa as they requires channel last for conv op Reviewed By: tarun292 Differential Revision: D50052821 fbshipit-source-id: bbfda46f01b226f906d29e18df726526092845b9
1 parent 7966c5d commit ddd1cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/example/example_backend_delegate_passes/permute_memory_formats_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def call( # noqa: suprress function is too complex (13)
6969
},
7070
)
7171
# Insert to_dim op and it'll be the return op
72-
_ = graph_module.graph.output(exit_to_dim_op)
72+
_ = graph_module.graph.output((exit_to_dim_op,))
7373
# Remove the old return op.
7474
graph_module.graph.erase_node(exit_node)
7575
# Handle the case when the pattern output is intermediate output,

0 commit comments

Comments
 (0)