aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/pass_packing.py
diff options
context:
space:
mode:
authorCharles Xu <charles.xu@arm.com>2020-05-18 08:54:47 +0200
committerTim Hall <tim.hall@arm.com>2020-06-18 17:53:52 +0100
commit600351a0669605e740820df34780c3927a0d5559 (patch)
tree050a8cdd7106e8d7391181a15e007035d5c28a05 /ethosu/vela/pass_packing.py
parente1a56101030e2a318ea90981f910c9f2631937fd (diff)
downloadethos-u-vela-600351a0669605e740820df34780c3927a0d5559.tar.gz
MLBEDSW-1828: Ifm/ifm2 order is reversed in some cases of split
Signed-off-by: Charles Xu <charles.xu@arm.com> Change-Id: Ib8d66f8b3c0467966165c1b53aeb7da7c8764c89
Diffstat (limited to 'ethosu/vela/pass_packing.py')
-rw-r--r--ethosu/vela/pass_packing.py2
1 files changed, 1 insertions, 1 deletions
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]