aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/convolution/depthwise/impl_dilated.hpp
diff options
context:
space:
mode:
authorJonathan Deakin <jonathan.deakin@arm.com>2024-05-08 09:20:50 +0000
committerJonathan Deakin <jonathan.deakin@arm.com>2024-05-08 14:47:12 +0000
commit48f120c64c21d983318c6e65f6d5609a8f8e92e6 (patch)
tree912ca4dadc8aa07b959de6c2c147cb67eee0b511 /src/core/NEON/kernels/convolution/depthwise/impl_dilated.hpp
parentc1575b2c12a4cee3a60c711fe6521025a814b159 (diff)
downloadComputeLibrary-main.tar.gz
Make quantization rounding consistentHEADmain
In NEQuantizeLayer for QASYMM8_SIGNED, the rounding was inconsistent between the unrolled loop and the leftover loop, which meant identical values (e.g. 0.5) at different indices of a Tensor could round to different values (0 or 1 in this case). We have changed vcvtaq to vcvtnq to round to the nearest, with ties to even. This matches the default fegetround setting, so it is a sensible default. Relates-to: COMPMID-6994 Signed-off-by: Jonathan Deakin <jonathan.deakin@arm.com> Change-Id: I8e7ecb1b8dbdd3e887697a92046af99ed33fc78f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11532 Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/convolution/depthwise/impl_dilated.hpp')
0 files changed, 0 insertions, 0 deletions