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

Method forward

ML/src/python/neuralforge/nn/layers.py:93–96  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

91 self.conv = nn.Sequential(*layers)
92
93 def forward(self, x):
94 if self.use_residual:
95 return x + self.conv(x)
96 return self.conv(x)
97
98class DenseLayer(nn.Module):
99 def __init__(self, in_channels, growth_rate, drop_rate=0.0):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected