From fc57011c9b48437ddc5302b578fe2e19b2e110a7 Mon Sep 17 00:00:00 2001 From: Oscar Andersson Date: Tue, 1 Jul 2025 11:41:04 +0200 Subject: [PATCH] Arm backend: Fix bug in decompose_linear_pass The output of the decomposition did not get any metadata which is troublesome when you have two consectutive linear layers. Signed-off-by: Oscar Andersson Change-Id: I408dace48efb2b02700dc3a680db060bc4b89454 --- backends/arm/_passes/decompose_linear_pass.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/arm/_passes/decompose_linear_pass.py b/backends/arm/_passes/decompose_linear_pass.py index 14baf49bcb2..76207e5849c 100644 --- a/backends/arm/_passes/decompose_linear_pass.py +++ b/backends/arm/_passes/decompose_linear_pass.py @@ -88,6 +88,7 @@ def call(self, graph_module): op_target=exir_ops.edge.aten.view_copy.default, args=(conv, list(output_shape)), kwargs={}, + from_node=node, ) node.replace_all_uses_with(output)