(self)
| 848 | |
| 849 | class MLP(torch.nn.Module): |
| 850 | def __init__(self): |
| 851 | super().__init__() |
| 852 | self.sequential = torch.nn.Sequential( |
| 853 | torch.nn.Linear(1, 10), |
| 854 | torch.nn.ReLU(), |
| 855 | torch.nn.Linear(10, 10), |
| 856 | torch.nn.ReLU(), |
| 857 | torch.nn.Linear(10, 1), |
| 858 | ) |
| 859 | |
| 860 | def forward(self, x): |
| 861 | return self.sequential(x) |
no outgoing calls
no test coverage detected