aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/supported_operators.py
diff options
context:
space:
mode:
authorMichael McGeagh <michael.mcgeagh@arm.com>2020-09-04 15:44:23 +0100
committerMichael McGeagh <michael.mcgeagh@arm.com>2020-09-08 15:17:39 +0100
commit34ad19b6bf7152a2e15834d152fa7bfa3131039e (patch)
tree0b63cbbb953921706bebef876cdc9da6ae490f27 /ethosu/vela/supported_operators.py
parent98a3499ec73b26880c633caf9a43bfe80f9ec1ed (diff)
downloadethos-u-vela-34ad19b6bf7152a2e15834d152fa7bfa3131039e.tar.gz
optim: Fix issue with IFM streaming of LUT
Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com> Change-Id: I3c3ed73a6db39615ddf5987dc5696b6b09682be0
Diffstat (limited to 'ethosu/vela/supported_operators.py')
-rw-r--r--ethosu/vela/supported_operators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/supported_operators.py b/ethosu/vela/supported_operators.py
index 86cc3c07..b6551cf9 100644
--- a/ethosu/vela/supported_operators.py
+++ b/ethosu/vela/supported_operators.py
@@ -398,8 +398,8 @@ class SupportedOperators:
if (
op.inputs[0].quantization is None
- or not op.inputs[0].quantization.is_scaling_equal(op.inputs[1].quantization)
- or not op.inputs[0].quantization.is_scaling_equal(op.outputs[0].quantization)
+ or not op.inputs[0].is_scaling_equal(op.inputs[1])
+ or not op.inputs[0].is_scaling_equal(op.outputs[0])
):
print(
"Warning: Input/output tensors with different quantization is unsupported for the", op.type, "operator"