Skip to content

Commit fbb1874

Browse files
Arm backend: Fix bug in decompose_linear_pass (#12160)
The output of the decomposition did not get any metadata which is troublesome when you have two consecutive linear layers. Signed-off-by: Oscar Andersson <[email protected]>
1 parent 50070f4 commit fbb1874

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/arm/_passes/decompose_linear_pass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def call(self, graph_module):
8888
op_target=exir_ops.edge.aten.view_copy.default,
8989
args=(conv, list(output_shape)),
9090
kwargs={},
91+
from_node=node,
9192
)
9293

9394
node.replace_all_uses_with(output)

0 commit comments

Comments
 (0)