aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/extract_npu_subgraphs.py
diff options
context:
space:
mode:
authorMichael McGeagh <michael.mcgeagh@arm.com>2020-08-19 11:24:17 +0100
committertim.hall <tim.hall@arm.com>2020-08-20 13:48:22 +0000
commitbb1b09ea438067d71d6dc3bbf55a3f6b41aaa75f (patch)
treedfa7e64bf6cb72f366a1feaf6a5a38fb590508f2 /ethosu/vela/extract_npu_subgraphs.py
parenta3aad93eec911f6bce69d7fb645d72ed82e59e16 (diff)
downloadethos-u-vela-bb1b09ea438067d71d6dc3bbf55a3f6b41aaa75f.tar.gz
MLBEDSW-2783 Vela crashed on empty tflite file
There may be cases where after optimisations, there are no operators contained within the subgraph. Upon serialising and writing out the vela optimised tflite file, it would crash for such a corner case. This fixes it allowing it to not crash but instead write out the empty tflite file. Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com> Change-Id: Ia879d1ffdbab21706b15e99aa107fb2d8d4dd3de
Diffstat (limited to 'ethosu/vela/extract_npu_subgraphs.py')
0 files changed, 0 insertions, 0 deletions