aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2020-10-13 09:02:48 +0200
committerPatrik Gustavsson <patrik.gustavsson@arm.com>2020-10-13 10:54:14 +0200
commit5554bbe54fe7c8bc32f6024c1b2a417e3c5845fa (patch)
treeeea7aeab5fe4c12b43aa50af2eb91dc541331e78
parent23f87162d068b78c378f8113578cd2047ffd3a7d (diff)
downloadethos-u-vela-5554bbe54fe7c8bc32f6024c1b2a417e3c5845fa.tar.gz
MLBEDSW-3219 Added info print for unsupported operator
Added info print for unsupported operator Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: I1002d1c2249661bff17ef86d9500d1aeb2a1e38e
-rw-r--r--ethosu/vela/supported_operators.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/supported_operators.py b/ethosu/vela/supported_operators.py
index 3517175e..88e10835 100644
--- a/ethosu/vela/supported_operators.py
+++ b/ethosu/vela/supported_operators.py
@@ -135,6 +135,7 @@ class SupportedOperators:
def is_operator_supported(self, op):
if op.type not in SupportedOperators.supported_operators:
+ print('Info: "{}" is not supported on the NPU. Placing on CPU instead'.format(op.type))
return False
for constraint in self.generic_constraints:
valid, extra = constraint(op)