diff options
author | Johan Alfven <johan.alfven@arm.com> | 2023-08-22 11:02:47 +0200 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2023-08-22 11:02:47 +0200 |
commit | c02eaa3e25840aee4ff909df263d4d0673227c5d (patch) | |
tree | 4f8917f9ac22c2ebefc1f131e3d850a85386698b /ethosu/vela/high_level_command_to_npu_op.py | |
parent | 00a15db3e1a188b25065d095152d701f4394cdc5 (diff) | |
download | ethos-u-vela-c02eaa3e25840aee4ff909df263d4d0673227c5d.tar.gz |
MLBEDSW-7949: [MLCE] Remove duplicate cpu tensors
- If a npu op is followed by a convolution op than runs on the cpu,
the optimized file ends up containing a duplicated tensor called _cpu.
Functionality wise not a problem but the graph will look strange in a
graph viewer.
- This error was introduced when removing duplicate weights
tensors but the above use case was not considered in that patch.
- The fix is to make sure that only the weight and bias tensor are
modified.
Change-Id: I576f13650f1f9d3d50a421ab7100fc8b5ab62657
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/high_level_command_to_npu_op.py')
0 files changed, 0 insertions, 0 deletions