diff options
author | Rickard Bolin <rickard.bolin@arm.com> | 2023-02-03 11:04:43 +0000 |
---|---|---|
committer | Rickard Bolin <rickard.bolin@arm.com> | 2023-02-03 14:27:32 +0000 |
commit | 4b7179936d659a6d4abd6b7659c2cc05c5a845fb (patch) | |
tree | 491c337bc854d435b80f0a535496084ea9ebc9ac /ethosu/vela/tflite_mapping.py | |
parent | 82593deacc7e97b9a667469bcee4392b78a7a768 (diff) | |
download | ethos-u-vela-4b7179936d659a6d4abd6b7659c2cc05c5a845fb.tar.gz |
Revert "MLBEDSW-6954: Update to TensorFlow 2.11"
This reverts commit 9d254b6f9e76ccf266a0f72a0171e73bc8d435c9.
Reason for revert: Due to 0-size constants being treated differently (MLTOOLS-2043)
Change-Id: Ie1150fb2dd9092050a7fd44708a893d52ffe59f8
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Diffstat (limited to 'ethosu/vela/tflite_mapping.py')
-rw-r--r-- | ethosu/vela/tflite_mapping.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ethosu/vela/tflite_mapping.py b/ethosu/vela/tflite_mapping.py index 11f74ba9..8ec01737 100644 --- a/ethosu/vela/tflite_mapping.py +++ b/ethosu/vela/tflite_mapping.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2020-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> # # SPDX-License-Identifier: Apache-2.0 # @@ -162,7 +162,6 @@ def inverse_map(map): datatype_map = { - TensorType.INT4: DataType.int4, TensorType.UINT8: DataType.uint8, TensorType.INT8: DataType.int8, TensorType.INT16: DataType.int16, @@ -185,7 +184,6 @@ datatype_map = { datatype_inv_map = inverse_map(datatype_map) datatype_inv_map[DataType.quint8] = TensorType.UINT8 -datatype_inv_map[DataType.qint4] = TensorType.INT4 datatype_inv_map[DataType.qint8] = TensorType.INT8 datatype_inv_map[DataType.qint16] = TensorType.INT16 datatype_inv_map[DataType.qint32] = TensorType.INT32 |