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/scheduler.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/scheduler.py')
-rw-r--r-- | ethosu/vela/scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py index 73133bcd..e8e49092 100644 --- a/ethosu/vela/scheduler.py +++ b/ethosu/vela/scheduler.py @@ -170,7 +170,7 @@ class SchedulerOperation: self.op_type = ps.primary_op.type self.activation = ps.primary_op.activation self.kernel = ps.primary_op.kernel - self.resampling_mode = ps.primary_op.ifm.resampling_mode + self.resampling_mode = ps.primary_op.ifm_resampling_mode self.uses_scalar = ps.primary_op.ifm2 is not None and ( ps.primary_op.ifm.shape == [] or ps.primary_op.ifm2.shape == [] ) |