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

Method forward

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

Source from the content-addressed store, hash-verified

20 nn.init.kaiming_normal_(self.weight, mode='fan_out', nonlinearity='relu')
21
22 def forward(self, x):
23 return F.conv2d(x, self.weight, self.bias, self.stride, self.padding, groups=self.groups)
24
25class DynamicLinear(nn.Module):
26 def __init__(self, in_features, out_features, bias=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected