(self, x)
| 136 | self.fc3 = nn.Linear(84, 10) |
| 137 | |
| 138 | def forward(self, x): |
| 139 | x = self.pool(F.relu(self.conv1(x))) |
| 140 | x = self.pool(F.relu(self.conv2(x))) |
| 141 | x = torch.flatten(x, 1) # flatten all dimensions except batch |
| 142 | x = F.relu(self.fc1(x)) |
| 143 | x = F.relu(self.fc2(x)) |
| 144 | x = self.fc3(x) |
| 145 | return x |
| 146 | |
| 147 | |
| 148 | net = Net() |
nothing calls this directly
no outgoing calls
no test coverage detected