(self)
| 29 | def build_simple_torch_model(): |
| 30 | class Model(torch.nn.Module): |
| 31 | def __init__(self): |
| 32 | super(Model, self).__init__() |
| 33 | self.fc1 = torch.nn.Linear(30, 50) |
| 34 | self.fc2 = torch.nn.Linear(50, 50) |
| 35 | self.fc3 = torch.nn.Linear(50, 30) |
| 36 | self.fc4 = torch.nn.Linear(30, 5) |
| 37 | self.relu = torch.nn.ReLU() |
| 38 | |
| 39 | def forward(self, x): |
| 40 | out = self.fc1(x) |