diff options
author | Louis Verhaard <louis.verhaard@arm.com> | 2021-03-31 10:01:11 +0200 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2021-03-31 09:48:33 +0000 |
commit | bb010eae126537010924b10d7ff8be4890dde184 (patch) | |
tree | 46029c30d42cd9ea7b23a8a214a56f596dc61e27 /ethosu | |
parent | a208cf87c14d866d95ff983e8b881eb696d05db8 (diff) | |
download | ethos-u-vela-bb010eae126537010924b10d7ff8be4890dde184.tar.gz |
MLBEDSW-4286: Bug fix Concat using IFM streaming
IFM box calculation was wrong because 2 variables were
referencing/updating the same list.
Signed-off-by: Louis Verhaard <louis.verhaard@arm.com>
Change-Id: Ibed4e94c474682e14a6dd898029f14af11c9479a
Diffstat (limited to 'ethosu')
-rw-r--r-- | ethosu/vela/high_level_command_stream_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/high_level_command_stream_generator.py b/ethosu/vela/high_level_command_stream_generator.py index 23d3a4fc..aad3783d 100644 --- a/ethosu/vela/high_level_command_stream_generator.py +++ b/ethosu/vela/high_level_command_stream_generator.py @@ -84,7 +84,7 @@ def generate_high_level_command_stream_for_pass(strat, passes, block_configs, id for op in ps.ops: if op.write_offset is not None: concat_offset = op.write_offset.as_list() - ofm_start = concat_offset + ofm_start = concat_offset[:] ofm_end = (op.write_offset + op.write_shape).as_list() if op.type.is_relu_op() or op.type in (Op.Tanh, Op.Sigmoid): ps.primary_op.activation = create_activation_function(op.type) |