diff options
author | Johan Alfven <johan.alfven@arm.com> | 2023-12-21 12:37:17 +0100 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2023-12-22 09:10:33 +0100 |
commit | 37dbca2adad678acf16f8360b8e3647563dababe (patch) | |
tree | 690e1a02120e9c5c1037a22480185ce74dc7f9e8 /ethosu/vela/live_range.py | |
parent | f4a511ffe7cd6c77e2effcbdf0843b2ef89d8df4 (diff) | |
download | ethos-u-vela-37dbca2adad678acf16f8360b8e3647563dababe.tar.gz |
MLBEDSW-8497: [MLCE] Avoid modifying FC with dynamic weights
- If a npu op is followed by a convolution op with dynamic
weights the optimized file ends up containing a duplicated
tensor called _cpu.
- Another problem is also that an empty bias tensor is added
in the reader.
- The fix is to ignore these cpu ops both in the reader
and the writer.
Change-Id: I476b4f6062e26cca4ba589df694a99ef79b0f6d4
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/live_range.py')
0 files changed, 0 insertions, 0 deletions