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
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py
index 73133bc..e8e4909 100644
--- a/ethosu/vela/scheduler.py
+++ b/ethosu/vela/scheduler.py
@@ -170,7 +170,7 @@
         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 == []
         )