(self)
| 30 | # Here's a simple MLP |
| 31 | class SimpleMLP(nn.Module): |
| 32 | def __init__(self): |
| 33 | super(SimpleMLP, self).__init__() |
| 34 | self.fc1 = nn.Linear(784, 128) |
| 35 | self.fc2 = nn.Linear(128, 128) |
| 36 | self.fc3 = nn.Linear(128, 10) |
| 37 | |
| 38 | def forward(self, x): |
| 39 | x = x.flatten(1) |
nothing calls this directly
no outgoing calls
no test coverage detected