diff options
author | Michael McGeagh <michael.mcgeagh@arm.com> | 2020-09-02 15:52:43 +0100 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2020-09-07 06:26:08 +0000 |
commit | 515c956c9cc6d45493e45d57b822e30a7317d1ed (patch) | |
tree | 27ea9ffcc815349bbc0d6c27bb555ef90249ff78 /ethosu/vela/weight_compressor.py | |
parent | 835d8e10f33f411664cebe65d3f6a872f6cc849a (diff) | |
download | ethos-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/weight_compressor.py')
0 files changed, 0 insertions, 0 deletions