aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2021-09-07 14:24:51 +0100
committertim.hall <tim.hall@arm.com>2021-09-10 14:41:42 +0000
commitb94bcd47e4137cc78f3df776e8fddec263ccbb63 (patch)
treeecf5f69f071fdefc5be6f27b16e3b811a6dcc799
parent76b794e59b4ced500b0a0acb660e99caa78dbf90 (diff)
downloadethos-u-vela-b94bcd47e4137cc78f3df776e8fddec263ccbb63.tar.gz
MLBEDSW-5174: Third-party custom ops not passed through correctly
- Re-added the CustomOptionsSerializer to the CUSTOM op TFLite mapping Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: I51b141749ba223c132190077eed9e22fac798d2d
-rw-r--r--ethosu/vela/tflite_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/tflite_mapping.py b/ethosu/vela/tflite_mapping.py
index 33117eb..02e91c7 100644
--- a/ethosu/vela/tflite_mapping.py
+++ b/ethosu/vela/tflite_mapping.py
@@ -896,7 +896,7 @@ builtin_operator_map = {
),
TFLITE_NO_INDICES,
),
- BuiltinOperator.CUSTOM: (Op.Custom, None, TFLITE_NO_INDICES),
+ BuiltinOperator.CUSTOM: (Op.Custom, CustomOptionsSerializer(), TFLITE_NO_INDICES),
}
builtin_operator_inv_map = {v[0]: (k, v[1], v[2]) for k, v in builtin_operator_map.items()}