aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2020-10-22 14:22:47 +0100
committerTim Hall <tim.hall@arm.com>2020-10-22 14:22:47 +0100
commit7b1654b453dad2c34860da80df8524e75924cfca (patch)
tree75e8a763784f5613d546a76bec16a9156f80ba43
parent4ed38bce498e1b9a5ae917316323de444792521a (diff)
downloadethos-u-vela-7b1654b453dad2c34860da80df8524e75924cfca.tar.gz
MLBEDSW-3285: AttributeError Tensor has no attribute
- Fixed typo in Tensor.is_quantized() Signed-off-by: Tim Hall <tim.hall@arm.com> Change-Id: I36156a6aa5aaff01c4f271a6a8325636173225f3
-rw-r--r--ethosu/vela/tensor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/tensor.py b/ethosu/vela/tensor.py
index 84af8ed..4110fa6 100644
--- a/ethosu/vela/tensor.py
+++ b/ethosu/vela/tensor.py
@@ -800,7 +800,7 @@ class Tensor:
if (self.dtype.type & BaseType.Int) == 0 or self.quantization is None:
return False
- assert isinstance(self.quantisation, QuantizationParameters)
+ assert isinstance(self.quantization, QuantizationParameters)
assert self.quantization.is_valid()
return True