diff options
author | Patrik Gustavsson <patrik.gustavsson@arm.com> | 2021-08-25 13:49:25 +0200 |
---|---|---|
committer | Patrik Gustavsson <patrik.gustavsson@arm.com> | 2021-09-03 14:37:43 +0200 |
commit | b081d67f3e96896ea0ca7426a18c5fe153419ee0 (patch) | |
tree | a62a36256836b9bebcf318fe71793ad800099267 /ethosu/vela/weight_compressor.py | |
parent | df99510f04aef99d1b8e9be9bfcde8fc1738b65f (diff) | |
download | ethos-u-vela-b081d67f3e96896ea0ca7426a18c5fe153419ee0.tar.gz |
TOSA: Added support for ADD, SUB and MUL
Added support for ADD, SUB and MUL
Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com>
Change-Id: I52acdc126b16e2cf4096bcf7a77023ea7d204998
Diffstat (limited to 'ethosu/vela/weight_compressor.py')
-rw-r--r-- | ethosu/vela/weight_compressor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/weight_compressor.py b/ethosu/vela/weight_compressor.py index 10a1a6dd..68817035 100644 --- a/ethosu/vela/weight_compressor.py +++ b/ethosu/vela/weight_compressor.py @@ -314,7 +314,7 @@ def encode_weight_and_scale_tensor( # No cache hit, need to perform the encoding if do_weights: assert weight_tens.quantization is not None - assert weight_tens.quantization.scale_f32 is not None + assert weight_tens.quantization.scale_f32 is not None or op.explicit_scaling assert weight_tens.quantization.zero_point is not None # Early zero-point correction |