diff options
author | Rob Elliott <robert.elliott@arm.com> | 2024-01-25 13:05:16 +0000 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2024-02-27 12:41:06 +0000 |
commit | 78b9412b07e0a46e58e8ecb9da8d661399c006a5 (patch) | |
tree | d766d872c2d56981046da85599b604a67018a9ed /ethosu/vela/tosa_reader.py | |
parent | cc82c36d30346b7495c40d04e78f9a9fbc46c6f3 (diff) | |
download | ethos-u-vela-78b9412b07e0a46e58e8ecb9da8d661399c006a5.tar.gz |
Modifications of rescale to enable basic form quantized network support.
Minor fixes for TOSA 0.80.0 and 0.80.1 field naming following from
the 0.2 to 0.8 conversion.
Change-Id: I2ac1b3ac1ec60cf765edf54030cd2338bf001289
Signed-off-by: Rob Elliott <Robert.Elliott@arm.com>
Diffstat (limited to 'ethosu/vela/tosa_reader.py')
-rw-r--r-- | ethosu/vela/tosa_reader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/tosa_reader.py b/ethosu/vela/tosa_reader.py index 56af59d8..2f37478f 100644 --- a/ethosu/vela/tosa_reader.py +++ b/ethosu/vela/tosa_reader.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2021-2024 Arm Limited and/or its affiliates <open-source-office@arm.com> # # SPDX-License-Identifier: Apache-2.0 # @@ -294,7 +294,7 @@ class TosaGraph: def check_version(self, tosa_graph): version = tosa_graph.Version() version_str = f"{version._Major()}.{version._Minor()}.{version._Patch()}" - if version_str != "0.80.0": + if version_str not in ( "0.80.0", "0.80.1" ): print(f"Unsupported TOSA version: {version_str}") assert False |