diff options
author | James Peet <james.peet@arm.com> | 2021-07-19 16:47:58 +0100 |
---|---|---|
committer | James Peet <james.peet@arm.com> | 2021-07-26 12:05:57 +0100 |
commit | 7519d50c993d60faa1ea09e56abfbf17cef23b49 (patch) | |
tree | 18bc526a1d1146dc3061f95418b1345bbdc481e8 /ethosu/vela/reader_util.py | |
parent | daed1529848465aab221a30008f455f9fa03c8d4 (diff) | |
download | ethos-u-vela-7519d50c993d60faa1ea09e56abfbf17cef23b49.tar.gz |
MLBEDSW-4892: Fix crash affecting biases without quantization.
Remove quant_values attribute from Tensor class.
It only needs a single values attribute, holding either
quantized or unquantized values as appropriate.
Change-Id: Ie96f80ac58061b6077e0f7048dc60209fdfbcafa
Signed-off-by: James Peet <james.peet@arm.com>
Diffstat (limited to 'ethosu/vela/reader_util.py')
-rw-r--r-- | ethosu/vela/reader_util.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ethosu/vela/reader_util.py b/ethosu/vela/reader_util.py index 233286c8..476b70aa 100644 --- a/ethosu/vela/reader_util.py +++ b/ethosu/vela/reader_util.py @@ -34,9 +34,6 @@ def clone_and_reshape_tensor(src_tens, reorder, set_unique): if tens.values is not None: tens.values = tens.values.transpose(reorder) - if tens.quant_values is not None: - tens.quant_values = tens.quant_values.transpose(reorder) - op = Operation(Op.Const, tens.name) op.set_output_tensor(tens) return tens |