diff options
author | Michael McGeagh <michael.mcgeagh@arm.com> | 2020-08-19 11:24:17 +0100 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2020-08-20 13:48:22 +0000 |
commit | bb1b09ea438067d71d6dc3bbf55a3f6b41aaa75f (patch) | |
tree | dfa7e64bf6cb72f366a1feaf6a5a38fb590508f2 /ethosu/vela/architecture_features.py | |
parent | a3aad93eec911f6bce69d7fb645d72ed82e59e16 (diff) | |
download | ethos-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/architecture_features.py')
0 files changed, 0 insertions, 0 deletions