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

Method __init__

ML/src/python/neuralforge/nn/activations.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58
59class ReGLU(nn.Module):
60 def __init__(self):
61 super().__init__()
62
63 def forward(self, x):
64 a, b = x.chunk(2, dim=-1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected