Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ gelu
Function
gelu
SwissArmyTransformer/sat/mpu/utils.py:105–106 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
103
(1.0 + 0.044715 * x * x)))
104
105
def
gelu(x):
106
return
gelu_impl(x)
Callers
nothing calls this directly
Calls
1
gelu_impl
Function · 0.70
Tested by
no test coverage detected