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

Method forward

ML/src/python/neuralforge/nn/modules.py:43–44  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

41 nn.init.uniform_(self.bias, -bound, bound)
42
43 def forward(self, x):
44 return F.linear(x, self.weight, self.bias)
45
46class AdaptiveBatchNorm2d(nn.Module):
47 def __init__(self, num_features, eps=1e-5, momentum=0.1):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected