diff options
Diffstat (limited to 'ethosu/vela/insert_dma.py')
-rw-r--r-- | ethosu/vela/insert_dma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/insert_dma.py b/ethosu/vela/insert_dma.py index fc1e7986..3797f43e 100644 --- a/ethosu/vela/insert_dma.py +++ b/ethosu/vela/insert_dma.py @@ -72,7 +72,7 @@ def insert_dma_cmd(op, arch, nng): tens.purpose == TensorPurpose.FeatureMap and op.type.is_binary_elementwise_op() and tens.shape != [] - and tens.shape != op.outputs[0].shape + and op.ifm_shapes[0] != op.ofm_shapes[0] and tens.storage_size() > max_ifm_shram_avail ): only_vector_product_consumers = True |