aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/pass_packing.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/pass_packing.py')
-rw-r--r--ethosu/vela/pass_packing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/pass_packing.py b/ethosu/vela/pass_packing.py
index 932f701b..4c733cce 100644
--- a/ethosu/vela/pass_packing.py
+++ b/ethosu/vela/pass_packing.py
@@ -271,7 +271,7 @@ def pack_into_passes(nng, arch, verbose_packing=False):
assert ifm_tensor.purpose == TensorPurpose.FeatureMap
if operation_set is None:
- print("Warning:", curr_op.type, "operation is unknown or unsupported, placing on CPU")
+ assert not curr_op.run_on_npu # operator should have been placed on the CPU
for inp in reversed(curr_op.inputs):
if inp is None: