(self, x)
| 54 | ) |
| 55 | |
| 56 | def forward(self, x): |
| 57 | out = F.relu(self.bn1(self.conv1(x))) |
| 58 | out = F.relu(self.bn2(self.conv2(out))) |
| 59 | out = self.bn3(self.conv3(out)) |
| 60 | out += self.shortcut(x) |
| 61 | out = F.relu(out) |
| 62 | return out |
| 63 | |
| 64 | |
| 65 | class ResNet(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected