aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/tflite_model_semantic.py
diff options
context:
space:
mode:
authorJohan Alfven <johan.alfven@arm.com>2023-05-25 11:18:50 +0200
committerJohan Alfven <johan.alfven@arm.com>2023-09-18 11:17:57 +0200
commit906c9e84d60de86f5b2584ae426bbc8e11932a03 (patch)
tree36ff5d1010105d1fb997252941f08835d51e2eac /ethosu/vela/tflite_model_semantic.py
parentb4e804bb53aba48985abf3bf8466bc02310f60fc (diff)
downloadethos-u-vela-906c9e84d60de86f5b2584ae426bbc8e11932a03.tar.gz
MLBEDSW-8042: MLCE: Add SQUARED_DIFFERENCE support
- Added SQUARED_DIFFERENCE support - Updated SUPPORTED_OPS.md Change-Id: Id83d9d92129e645390c7979759dfdeff7a14c2ee Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/tflite_model_semantic.py')
-rw-r--r--ethosu/vela/tflite_model_semantic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/tflite_model_semantic.py b/ethosu/vela/tflite_model_semantic.py
index d2e0ba5a..258af93e 100644
--- a/ethosu/vela/tflite_model_semantic.py
+++ b/ethosu/vela/tflite_model_semantic.py
@@ -76,7 +76,7 @@ class TFLiteSemantic:
)
)
binary_elem_wise_main_ops = binary_elem_wise_min_max_ops | binary_elem_wise_add_mul_sub | binary_elem_wise_shift_ops
- elem_wise_main_ops = binary_elem_wise_main_ops | unary_elem_wise_main_ops
+ elem_wise_main_ops = binary_elem_wise_main_ops | unary_elem_wise_main_ops | set((Op.SquaredDifference,))
shapeless_input_ops = binary_elem_wise_main_ops | set(
(Op.Split, Op.SplitV, Op.Mean, Op.ExpandDims, Op.Quantize, Op.ArgMax)
)