From bb010eae126537010924b10d7ff8be4890dde184 Mon Sep 17 00:00:00 2001 From: Louis Verhaard Date: Wed, 31 Mar 2021 10:01:11 +0200 Subject: 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 Change-Id: Ibed4e94c474682e14a6dd898029f14af11c9479a --- ethosu/vela/high_level_command_stream_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ethosu') 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) -- cgit v1.2.1