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

Method forward

ML/src/python/neuralforge/nn/activations.py:16–17  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

14 super().__init__()
15
16 def forward(self, x):
17 return x * torch.sigmoid(x)
18
19class Mish(nn.Module):
20 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected