From 600351a0669605e740820df34780c3927a0d5559 Mon Sep 17 00:00:00 2001 From: Charles Xu Date: Mon, 18 May 2020 08:54:47 +0200 Subject: MLBEDSW-1828: Ifm/ifm2 order is reversed in some cases of split Signed-off-by: Charles Xu Change-Id: Ib8d66f8b3c0467966165c1b53aeb7da7c8764c89 --- ethosu/vela/pass_packing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethosu/vela/pass_packing.py') diff --git a/ethosu/vela/pass_packing.py b/ethosu/vela/pass_packing.py index 5841ca23..4cfac33c 100644 --- a/ethosu/vela/pass_packing.py +++ b/ethosu/vela/pass_packing.py @@ -314,7 +314,7 @@ def pack_into_passes(nng, arch, verbose_packing=False): if operation_set is None: print("Warning:", curr_op.type, "operation is unknown or unsupported, placing on CPU") - for inp in curr_op.inputs: + for inp in reversed(curr_op.inputs): can_pack = True if len(inp.ops) == 1: next_op = inp.ops[0] -- cgit v1.2.1