Y
Hacker News
new
|
ask
|
show
|
jobs
by
jey
550 days ago
This is just a practical approximation to the actual mathematical definition of GELU, which is `GELU(x) := x * Φ(x)` where Φ(x) is the CDF of the Gaussian distribution.
1 comments
fluoridation
549 days ago
Isn't that just erf()?
link
kgwgk
549 days ago
They are related but the error function approaches -1 for large negative numbers. Φ(x) approaches 0 and so does x * Φ(x).
link