Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ __init__
Method
__init__
ML/src/python/neuralforge/nn/activations.py:77–78 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
75
76
class
SiLU(nn.Module):
77
def
__init__(self):
78
super().__init__()
79
80
def
forward(self, x):
81
return
x * torch.sigmoid(x)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected