(self)
| 157 | |
| 158 | class Net(nn.Module): |
| 159 | def __init__(self): |
| 160 | super().__init__() |
| 161 | self.conv1 = nn.Conv2d(1, 6, 5) |
| 162 | self.pool = nn.MaxPool2d(2, 2) |
| 163 | self.conv2 = nn.Conv2d(6, 16, 5) |
| 164 | self.fc1 = nn.Linear(16 * 4 * 4, 120) |
| 165 | self.fc2 = nn.Linear(120, 84) |
| 166 | self.fc3 = nn.Linear(84, 10) |
| 167 | |
| 168 | def forward(self, x): |
| 169 | x = self.pool(F.relu(self.conv1(x))) |
nothing calls this directly
no outgoing calls
no test coverage detected