diff options
author | Tim Hall <tim.hall@arm.com> | 2022-03-16 16:31:57 +0000 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2022-03-21 18:50:48 +0000 |
commit | 3c5cfe9e110b402f60fa7e1cdd5aa5e1c31bd511 (patch) | |
tree | c5db3f145a097293cacaaee4112cc30be3670b4c /ethosu/vela/tensor.py | |
parent | 845e23200d471e44f274940846e400d170b5ff37 (diff) | |
download | ethos-u-vela-3c5cfe9e110b402f60fa7e1cdd5aa5e1c31bd511.tar.gz |
MLBEDSW-6298: MLCE: Unable to find a valid block config
- Fixed a bug due to ResizeBilinear modifying the attributes of a
shared IFM
- The ifm_resampling_mode is now an attribute of an operator rather
than a tensor
- Changed all calls to try_block_config() to use the attribute rather
than recalculating it in multiple places
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I4641e9cd6b049bd4186776d98e3e751c5e5bcc06
Diffstat (limited to 'ethosu/vela/tensor.py')
-rw-r--r-- | ethosu/vela/tensor.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ethosu/vela/tensor.py b/ethosu/vela/tensor.py index 19016a0f..783f459e 100644 --- a/ethosu/vela/tensor.py +++ b/ethosu/vela/tensor.py @@ -36,7 +36,6 @@ from .data_type import BaseType from .data_type import DataType from .errors import UnsupportedFeatureError from .errors import VelaError -from .ethos_u55_regs.ethos_u55_regs import resampling_mode from .numeric_util import full_shape from .operation import Op from .operation import Operation @@ -367,7 +366,6 @@ class Tensor: "element_size_bytes", "block_traversal", "equivalence_id", - "resampling_mode", "src_tensor", "needs_linear_format", "ifm_write_protected", @@ -414,7 +412,6 @@ class Tensor: # quantization parameters self.quantization: Optional[QuantizationParameters] = None self.block_traversal: TensorBlockTraversal = TensorBlockTraversal.Default - self.resampling_mode: resampling_mode = resampling_mode.NONE self.needs_linear_format = True self.ifm_write_protected = False |