diff options
Diffstat (limited to 'ethosu/vela/scheduler.py')
-rw-r--r-- | ethosu/vela/scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/scheduler.py b/ethosu/vela/scheduler.py index e45e3e55..0b594310 100644 --- a/ethosu/vela/scheduler.py +++ b/ethosu/vela/scheduler.py @@ -940,7 +940,7 @@ class DynamicProgrammingScheduler: use_NHCWB16 = True for op in output.consumer_list: - if op == None or op.type == 'Reshape': + if op is None or op.type == "Reshape": use_NHCWB16 = False else: use_NHCWB16 &= op.run_on_npu |