(self)
| 48 | class TinyModel(torch.nn.Module): |
| 49 | |
| 50 | def __init__(self): |
| 51 | super().__init__() |
| 52 | |
| 53 | self.linear1 = torch.nn.Linear(100, 200) |
| 54 | self.activation = torch.nn.ReLU() |
| 55 | self.linear2 = torch.nn.Linear(200, 10) |
| 56 | self.softmax = torch.nn.Softmax(dim=1) |
| 57 | |
| 58 | def forward(self, x): |
| 59 | x = self.linear1(x) |