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

Method forward

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

Source from the content-addressed store, hash-verified

55 )
56
57 def forward(self, x):
58 out = F.relu(self.bn1(self.conv1(x)))
59 out = F.relu(self.bn2(self.conv2(out)))
60 out = self.bn3(self.conv3(out))
61 out += self.shortcut(x)
62 out = F.relu(out)
63 return out
64
65
66class ResNet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected