ggml : fix overflows in elu function (#8866)
It's helpful to use expm1f(x), because expf(x)-1 will result in overflow for 25% of single-precision floating point numbers.
J
Justine Tunney committed
b9dfc25ca385a83bde9e9456c4d4fae15377bc7b
Parent: 1ef14b3
Committed by GitHub <noreply@github.com>
on 8/5/2024, 12:43:40 PM