aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/pass_packing.py
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2021-02-08 10:13:48 +0100
committerPatrik Gustavsson <patrik.gustavsson@arm.com>2021-02-09 15:31:23 +0100
commit138d47f5a3e87d294b3714ae799ccad8ac9111bd (patch)
tree98bf917b14a1dd3ee5bbadc8116e543dcc37dfd3 /ethosu/vela/pass_packing.py
parentda2b0030220e87788573a724979626aa92afd13e (diff)
downloadethos-u-vela-138d47f5a3e87d294b3714ae799ccad8ac9111bd.tar.gz
MLBEDSW-3774 Removed ConcatSliceWrite
-Removed ConcatSliceWrite from the optimised graph. Always executed as avgpool, which is equivalent with before the patch. -Added copy op to enable more removal of reshapes. Sg input/outputs need to remain. When Reshape input and outut, are sg input/outputs a copy op is needed to be inserted, in order to remove the reshape. Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: Id7be9966673ae34499e8518a5544104493fe326b
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 abd235fd..b52b159e 100644
--- a/ethosu/vela/pass_packing.py
+++ b/ethosu/vela/pass_packing.py
@@ -81,7 +81,7 @@ npu_post_ops = activation_ops
npu_post_fuse_limited_ops = set(
# Set of post operators that should not be fused with main/elementwise ops
- (Op.ConcatSliceWrite, Op.Sigmoid, Op.Tanh, Op.Quantize)
+ (Op.Sigmoid, Op.Tanh, Op.Quantize)
)
elem_wise_ops = elem_wise_main_ops | activation_ops | set((Op.Sigmoid, Op.Tanh))