aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJonathan Deakin <jonathan.deakin@arm.com>2022-10-13 10:50:25 +0000
committerPablo Marquez Tello <pablo.tello@arm.com>2022-10-24 09:38:39 +0000
commit2bc8cfe274b1f524013fbb6561930daca496b3ec (patch)
tree7db162020c02fd8c25743c4e58272f9c9047a2f6 /data
parenta4f887021503507194774aeab3f76dca10888b97 (diff)
downloadComputeLibrary-2bc8cfe274b1f524013fbb6561930daca496b3ec.tar.gz
Add FP16 tanh based on rational approximation
Use rational approximation with optimised coefficients to calculate tanh_f16. Method is ~2.5x faster than previous and has lower relative and absolute error. This will fix https://github.com/ARM-software/ComputeLibrary/issues/1002 Credit to George Steed for suggesting use of vcageq instead of min+max Signed-off-by: Jonathan Deakin <jonathan.deakin@arm.com> Change-Id: Id70da3aab666c68b0d798266a837b59c00937bf7 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8480 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com> Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions