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

Method forward

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

Source from the content-addressed store, hash-verified

35 super().__init__()
36
37 def forward(self, x):
38 return F.relu6(x + 3.0) / 6.0
39
40class FReLU(nn.Module):
41 def __init__(self, channels, kernel_size=3):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected