aboutsummaryrefslogtreecommitdiff
path: root/ethosu
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu')
-rw-r--r--ethosu/vela/high_level_command_stream_generator.py2
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)