(self, x)
| 52 | self.fc3 = nn.Linear(84, 10) |
| 53 | |
| 54 | def forward(self, x): |
| 55 | x = F.max_pool2d(F.relu(self.conv1(x)), (2, 2)) |
| 56 | x = F.max_pool2d(F.relu(self.conv2(x)), 2) |
| 57 | x = x.view(-1, int(x.nelement() / x.shape[0])) |
| 58 | x = F.relu(self.fc1(x)) |
| 59 | x = F.relu(self.fc2(x)) |
| 60 | x = self.fc3(x) |
| 61 | return x |
| 62 | |
| 63 | model = LeNet().to(device=device) |
| 64 |
nothing calls this directly
no outgoing calls
no test coverage detected