From 5554bbe54fe7c8bc32f6024c1b2a417e3c5845fa Mon Sep 17 00:00:00 2001 From: Patrik Gustavsson Date: Tue, 13 Oct 2020 09:02:48 +0200 Subject: MLBEDSW-3219 Added info print for unsupported operator Added info print for unsupported operator Signed-off-by: Patrik Gustavsson Change-Id: I1002d1c2249661bff17ef86d9500d1aeb2a1e38e --- ethosu/vela/supported_operators.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ethosu/vela') 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) -- cgit v1.2.1