From e2bfa7ec7495591139e19f41397054a44a0348bc Mon Sep 17 00:00:00 2001 From: Patrik Gustavsson Date: Wed, 8 Sep 2021 15:04:11 +0200 Subject: TOSA: Add support for PAD Added support for TOSA PAD operator in line with legacy support Limitations: -Rank <= 4 -N = 1 if Rank = 4 for ifms/ofm -only padding in W and H dimensions -bool_t not supported Signed-off-by: Patrik Gustavsson Change-Id: I511608202b4c9bf6d86285b559c517fb41741fdf --- ethosu/vela/tosa_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethosu/vela/tosa_reader.py') diff --git a/ethosu/vela/tosa_reader.py b/ethosu/vela/tosa_reader.py index 94ba350e..aadcb0ad 100644 --- a/ethosu/vela/tosa_reader.py +++ b/ethosu/vela/tosa_reader.py @@ -113,7 +113,7 @@ class TosaSubgraph: # Moving permutation to an attribute, to match internal graph representation for now perms = None if op_code == TosaOp.TRANSPOSE: - perms = perms = inputs.pop(1) + perms = inputs.pop(1) indices = TOSA_IFM_INDICES name = "unknown_op_name" -- cgit v1.2.1