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