aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/graph_optimiser.py
diff options
context:
space:
mode:
authorMichael McGeagh <michael.mcgeagh@arm.com>2020-09-02 15:52:43 +0100
committerpatrik.gustavsson <patrik.gustavsson@arm.com>2020-09-07 06:26:08 +0000
commit515c956c9cc6d45493e45d57b822e30a7317d1ed (patch)
tree27ea9ffcc815349bbc0d6c27bb555ef90249ff78 /ethosu/vela/graph_optimiser.py
parent835d8e10f33f411664cebe65d3f6a872f6cc849a (diff)
downloadethos-u-vela-515c956c9cc6d45493e45d57b822e30a7317d1ed.tar.gz
MLBEDSW-2874 Fix writing out empty tflite files
If a tflite file with no ops but just the input/output tensor is given, vela wrote an empty optimised tflite file with no tensors given. This fixes that by allowing all placeholder tensors to also be serialised on write. Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com> Change-Id: If79817100869e712a75264889f401e38de0b1e7a
Diffstat (limited to 'ethosu/vela/graph_optimiser.py')
0 files changed, 0 insertions, 0 deletions