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

Method forward

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

Source from the content-addressed store, hash-verified

165 self.relu = nn.ReLU(inplace=True)
166
167 def forward(self, x):
168 x = self.depthwise(x)
169 x = self.bn1(x)
170 x = self.relu(x)
171 x = self.pointwise(x)
172 x = self.bn2(x)
173 x = self.relu(x)
174 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected