MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

ML/src/python/neuralforge/nn/activations.py:117–119  ·  view source on GitHub ↗
(self, beta=1)

Source from the content-addressed store, hash-verified

115
116class Softplus(nn.Module):
117 def __init__(self, beta=1):
118 super().__init__()
119 self.beta = beta
120
121 def forward(self, x):
122 return F.softplus(x, self.beta)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected