MCPcopy Create free account
hub / github.com/Mattdl/ContinualPrototypeEvolution / forward

Method forward

model/common.py:66–71  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

64 )
65
66 def forward(self, x):
67 out = relu(self.bn1(self.conv1(x)))
68 out = self.bn2(self.conv2(out))
69 out += self.shortcut(x)
70 out = relu(out)
71 return out
72
73
74class ResNet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected