diff options
Diffstat (limited to 'ethosu/vela/weight_compressor.py')
-rw-r--r-- | ethosu/vela/weight_compressor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/weight_compressor.py b/ethosu/vela/weight_compressor.py index 50ae26c..a580fb6 100644 --- a/ethosu/vela/weight_compressor.py +++ b/ethosu/vela/weight_compressor.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2020-2024 Arm Limited and/or its affiliates <open-source-office@arm.com> # # SPDX-License-Identifier: Apache-2.0 # @@ -420,7 +420,7 @@ def encode_weight_and_scale_tensor( # For each core, deinterleave weights/scales from the larger volume # and generate separate compressed streams. - for core in range(0, min(arch.ncores, full_ofm_depth)): + for core in range(0, min(arch.ncores, depth_length)): core_block_depth = int((ofm_block_depth + arch.ncores - 1 - core) // arch.ncores) |