Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DSL-Lab/StreamSplat
/ GELU_
Class
GELU_
model/transformer_utils.py:58–63 ·
view source on GitHub ↗
Fast gelu implementation.
Source
from the content-addressed store, hash-verified
56
57
58
class
GELU_(nn.Module):
59
""
"
60
Fast gelu implementation.
61
""
"
62
def
forward(self, x):
63
return
x * torch.sigmoid(1.702 * x)
64
65
class
LayerNorm(nn.RMSNorm):
66
""
"
Callers
1
make_activation
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected