diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-04-22 12:26:10 +0100 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-04-22 16:16:28 +0000 |
commit | b70770ee65ccce71a74e73df55fcaeac3cb9d0d7 (patch) | |
tree | bfcaf0aef6e1f9a3addb4be161a423c17f523138 /arm_compute/runtime/NEON/functions/NESimpleAssemblyFunction.h | |
parent | 2803f703fe149f8a04c96d484266b7401e1ad355 (diff) | |
download | ComputeLibrary-b70770ee65ccce71a74e73df55fcaeac3cb9d0d7.tar.gz |
COMPMID-3069: Requantize in int32_t in RELUs of NEActivationLayerKernel
Requantization must be in 32 bits as there is a multiplication by
scaling factor and an offset addition. In this case, clamp was
interpreting the input as an 8-bit value, therefore cutting the
remaining 24 bits.
Change-Id: I31a5837a94e229201a023b1617fc2df5c35f61e3
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3076
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NESimpleAssemblyFunction.h')
0 files changed, 0 insertions, 0 deletions