diff options
author | Johan Alfven <johan.alfven@arm.com> | 2024-04-04 10:08:05 +0200 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2024-04-05 09:02:58 +0200 |
commit | abed3c27c9e02a96017b497a17fe8641c31c0502 (patch) | |
tree | 1e7da1a0c0634b394085cc3398dc879d40b06387 /ethosu/vela/tosa_graph_optimiser.py | |
parent | 190b63a6ae6908625dffab203a8137c27aaec5fd (diff) | |
download | ethos-u-vela-abed3c27c9e02a96017b497a17fe8641c31c0502.tar.gz |
MLBEDSW-8885: MLCE: Fix assert in verify_subgraph_health
- Assert triggered due to that the tensor consumer list did
not contain expected operators.
- The problem happened because a concat op was split into two
avgpool ops and these two ops run in separate subgraphs with
a cpu node in between. Since the avgpool ops share the same
output tensor this caused some corruption to the tensor consumer
list when the last subgraph was traversed.
- The fix is to ignore ops that do not belong in the subgraph's
set of operators (the pass list) when updating the consumers.
Change-Id: I4d94b54c77001f6447bec31ec62daeebc9b104f9
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/tosa_graph_optimiser.py')
0 files changed, 0 insertions, 0 deletions