aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/npu_serialisation.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/npu_serialisation.py')
-rw-r--r--ethosu/vela/npu_serialisation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethosu/vela/npu_serialisation.py b/ethosu/vela/npu_serialisation.py
index 39a7f21f..f462168a 100644
--- a/ethosu/vela/npu_serialisation.py
+++ b/ethosu/vela/npu_serialisation.py
@@ -98,6 +98,8 @@ def serialise_npu_subgraph_into_tensors(sg, arch, scratch_tens, scratch_fast_ten
op_info = sg.schedule.cost_map[sched_op]
if op_info.npu_weights_tensor:
copy_compressed_values_to_memory_tensor(sg.flash_tensor, op_info.npu_weights_tensor)
+ if op_info.npu_scales_tensor:
+ copy_compressed_values_to_memory_tensor(sg.flash_tensor, op_info.npu_scales_tensor)
if ifm_tensor and ifm_tensor.mem_type not in (MemType.Scratch, MemType.Scratch_fast):
copy_ifm_values_to_memory_tensor(sg.flash_tensor, ifm_tensor)