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 <patrik.gustavsson@arm.com>
Change-Id: I511608202b4c9bf6d86285b559c517fb41741fdf
diff --git a/ethosu/vela/tosa_reader.py b/ethosu/vela/tosa_reader.py
index 94ba350..aadcb0a 100644
--- a/ethosu/vela/tosa_reader.py
+++ b/ethosu/vela/tosa_reader.py
@@ -113,7 +113,7 @@
# 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"