MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / forward

Method forward

Regularization/Cutout-master/model/resnet.py:30–35  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

28 )
29
30 def forward(self, x):
31 out = F.relu(self.bn1(self.conv1(x)))
32 out = self.bn2(self.conv2(out))
33 out += self.shortcut(x)
34 out = F.relu(out)
35 return out
36
37
38class Bottleneck(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected