diff options
author | Patrik Gustavsson <patrik.gustavsson@arm.com> | 2020-08-24 16:26:11 +0200 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2020-08-26 09:37:01 +0000 |
commit | 90831bc18d45008b703e59aad0594026beb7da82 (patch) | |
tree | 6b647996160ba8ecd037da1e15c91f55d4b0f665 /ethosu/vela/architecture_features.py | |
parent | d47cc2777f3a3f371958c30a3c1880f692b0b0a2 (diff) | |
download | ethos-u-vela-90831bc18d45008b703e59aad0594026beb7da82.tar.gz |
MLBED-2822 Added CLI-opt for weight size est.
Added --weight-estimation-scaling, which enables
additional scaling of weight compression scale estimate.
Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com>
Change-Id: Idcda41257f44901d3a3f345341e07fb1ae8585a9
Diffstat (limited to 'ethosu/vela/architecture_features.py')
-rw-r--r-- | ethosu/vela/architecture_features.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index 5453f2cf..8b968a3e 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -184,6 +184,7 @@ Note the difference between ArchitectureFeatures and CompilerOptions global_memory_clock_scale, max_blockdep, softmax_support, + weight_estimation_scaling, ): accelerator_config = accelerator_config.lower() self.vela_config = vela_config @@ -215,6 +216,7 @@ Note the difference between ArchitectureFeatures and CompilerOptions ) self.max_blockdep = max_blockdep + self.weight_estimation_scaling = weight_estimation_scaling dpu_min_height = accel_config.ofm_ublock.height dpu_min_width = accel_config.ofm_ublock.width |