(self, x)
| 96 | return out |
| 97 | |
| 98 | def feature_extract(self, x): |
| 99 | out = F.relu(self.bn1(self.conv1(x))) |
| 100 | out = self.layer1(out) |
| 101 | out = self.layer2(out) |
| 102 | out = self.layer3(out) |
| 103 | out = self.layer4(out) |
| 104 | out = self.avgpool(out) |
| 105 | out = torch.flatten(out, 1) |
| 106 | return out |
| 107 | |
| 108 | |
| 109 | class WRN(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected