onnxruntime
67ac6ae4 - Tune fast Gelu to use exp(x) instead of tanh(x) on Rocm platform (#6174)

Commit
5 years ago
Tune fast Gelu to use exp(x) instead of tanh(x) on Rocm platform (#6174) * tune fast gelu to use exp(x) instead of tanh(x) on rocm * update to use expression 2/(1+exp(-2x))-1 for stability
Author
Suffian Khan
Parents
Loading