aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McGeagh <michael.mcgeagh@arm.com>2020-11-18 15:44:05 +0000
committerMichael McGeagh <michael.mcgeagh@arm.com>2020-11-18 15:44:05 +0000
commita648aa9928ba6bd0cca5a6de33c2a3cbbee9a0ed (patch)
tree734dc8a55e2ee474b0c9ecf7812969c5e87cb76f
parented67b88e4b0ce21c42dabe5b2a199afd8e95b17f (diff)
downloadethos-u-vela-a648aa9928ba6bd0cca5a6de33c2a3cbbee9a0ed.tar.gz
vela: Remove ExpandDims from supported ops list
EXPAND_DIMS is not yet supported by vela, and so should not be in the list of supported ops. Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com> Change-Id: I5eca13eb52eb9b40ecc6592cda978614c71db99d
-rw-r--r--ethosu/vela/supported_operators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/supported_operators.py b/ethosu/vela/supported_operators.py
index ccf6104..4429238 100644
--- a/ethosu/vela/supported_operators.py
+++ b/ethosu/vela/supported_operators.py
@@ -92,7 +92,7 @@ class SupportedOperators:
)
split_ops = set((Op.Split, Op.SplitV, Op.StridedSlice, Op.Slice, Op.UnpackReshaped, Op.Unpack,))
concat_ops = set((Op.Concat, Op.ConcatTFLite, Op.PackReshaped, Op.Pack,))
- memory_only_ops = set((Op.Squeeze, Op.Reshape, Op.QuantizedReshape, Op.ExpandDims,)) | concat_ops | split_ops
+ memory_only_ops = set((Op.Squeeze, Op.Reshape, Op.QuantizedReshape,)) | concat_ops | split_ops
shapeless_input_ops = binary_elem_wise_main_ops | set((Op.Split, Op.SplitV,))
supported_fused_activations = relu_ops | set((Op.Tanh, Op.Sigmoid, Op.LUT,))
supported_operators = npu_pre_ops | mac_main_ops | elem_wise_main_ops | npu_post_ops | memory_only_ops