diff options
author | Johan Alfven <johan.alfven@arm.com> | 2023-04-13 10:13:56 +0200 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2023-04-24 12:56:44 +0200 |
commit | c4268bf407048c7899c8501dd1223a777f8c4963 (patch) | |
tree | eaadb0341c0989778542ccabcaf56fbddd592e8a /README.md | |
parent | 301ca6046884ccacd6cb4d64bd4c4869ff66b4bf (diff) | |
download | ethos-u-vela-c4268bf407048c7899c8501dd1223a777f8c4963.tar.gz |
MLBEDSW-7501: Vela unnecessary adds reshaped weights tensors
- Weights are internally cloned and reshaped/transposed when
running on the NPU. This happens already in the reader. If
the op is passed through to the CPU there are code that writes
backs these clones but with another round of reshape/transpose.
This adds extra tensors in the optimized file compared to the
original file if the original tensors are subgraph inputs.
- If the op is passed trough to the CPU the clones should not
be written to the file. Solved this by setting the src_tensor
when making the clone.
Change-Id: I9f55d542c099882882920bffe8e15b43b2ca2c8d
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions