From 65da3795cb4f7e682fc849c7a384e6b9795863f1 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Fri, 24 Apr 2020 17:46:44 +0100 Subject: MLBEDSW-1997: POW operator fails to load - Dict was returning a str rather than the tuple (str, options) Change-Id: Ia4359653d05897b2fd123a21c818dc51d831ed79 Signed-off-by: Tim Hall --- ethosu/vela/tflite_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethosu') diff --git a/ethosu/vela/tflite_mapping.py b/ethosu/vela/tflite_mapping.py index 8e46ef2e..c6981aa7 100644 --- a/ethosu/vela/tflite_mapping.py +++ b/ethosu/vela/tflite_mapping.py @@ -575,7 +575,7 @@ builtin_operator_map = { "Shape", OptionsSerializer("ShapeOptions", (("out_type", datatype_deserialize, datatype_serialize),)), ), - BuiltinOperator.POW: "Pow", + BuiltinOperator.POW: ("Pow", None), BuiltinOperator.ARG_MIN: ( "ArgMin", OptionsSerializer("ArgMinOptions", (("output_type", datatype_deserialize, datatype_serialize),)), -- cgit v1.2.1