From c3c08d848642431243c71da366883137d2bcfc28 Mon Sep 17 00:00:00 2001 From: Jacob Bohlin Date: Mon, 31 Aug 2020 10:14:02 +0200 Subject: MLBEDSW-2804: Removed invalid assert for shift range Signed-off-by: Jacob Bohlin Change-Id: I857aeb7aeb34f4b8ea47e6ac954cead268335e32 --- ethosu/vela/weight_compressor.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'ethosu/vela/weight_compressor.py') diff --git a/ethosu/vela/weight_compressor.py b/ethosu/vela/weight_compressor.py index a275e412..175646b8 100644 --- a/ethosu/vela/weight_compressor.py +++ b/ethosu/vela/weight_compressor.py @@ -460,9 +460,6 @@ def calc_scales_and_pack_biases(tens, arch, ofm_depth_step, rescale_for_faf=Fals else: quantised_scales = [quantise_scale(scale) for scale in scales] - for _, shift in quantised_scales: - assert shift >= 16 - # pack the biases and scales if len(quantised_scales) == 1: # If only 1 quantised scale is used, repeat that value for the length of the biases -- cgit v1.2.1