aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/supported_operators.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/supported_operators.py')
-rw-r--r--ethosu/vela/supported_operators.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/ethosu/vela/supported_operators.py b/ethosu/vela/supported_operators.py
index e5271450..574b3a49 100644
--- a/ethosu/vela/supported_operators.py
+++ b/ethosu/vela/supported_operators.py
@@ -229,13 +229,6 @@ class SupportedOperators:
if op.type in self.binary_elem_wise_main_ops: # if op type is unary, ifm2_tensor is None
if len(ifm2_tensor.shape) > 2 and ifm2_tensor.shape[0] != 1:
return False
-
- # check scalar size
- if hasattr(ifm_tensor.values, "__len__") and len(ifm_tensor.values) > 1:
- return False
- if op.type in self.binary_elem_wise_main_ops: # same as above
- if hasattr(ifm2_tensor.values, "__len__") and len(ifm2_tensor.values) > 1:
- return False
return True
def check_memory_only_restrictions(self, op):