aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/tosa_reader.py
diff options
context:
space:
mode:
authorJonas Ohlsson <jonas.ohlsson@arm.com>2022-03-04 14:58:56 +0100
committerJonas Ohlsson <jonas.ohlsson@arm.com>2022-03-04 15:05:22 +0100
commit25e700c9894bc9ca5fb219e902c907c04b2048b2 (patch)
treefc90f128814f5c642e54a4c9c49af6c63c226ff2 /ethosu/vela/tosa_reader.py
parent51bb3379a24139e2af234548e56ff063728f8e7e (diff)
downloadethos-u-vela-25e700c9894bc9ca5fb219e902c907c04b2048b2.tar.gz
MLBEDSW-3367 Update pre-commit flake8 version
Update the version of flake8 used in pre-commit to facilitate adding mypy to pre-commit. Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com> Change-Id: I457dec87b77487ca6f14ff4a679c4cc927b272b0
Diffstat (limited to 'ethosu/vela/tosa_reader.py')
-rw-r--r--ethosu/vela/tosa_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/tosa_reader.py b/ethosu/vela/tosa_reader.py
index aadcb0ad..2bec9cf1 100644
--- a/ethosu/vela/tosa_reader.py
+++ b/ethosu/vela/tosa_reader.py
@@ -253,7 +253,7 @@ class TosaSubgraph:
if tens.quantization.zero_point is None:
tens.quantization.zero_point = zp
elif tens.quantization.zero_point != zp:
- print(f"Error: Setting tensor zp not possible, tensor already has different zero point")
+ print("Error: Setting tensor zp not possible, tensor already has different zero point")
assert False