(self)
| 63 | # |
| 64 | class Layer(torch.nn.Module): |
| 65 | def __init__(self): |
| 66 | super().__init__() |
| 67 | self.linear1 = torch.nn.Linear(10, 10) |
| 68 | self.relu1 = torch.nn.ReLU() |
| 69 | self.linear2 = torch.nn.Linear(10, 10) |
| 70 | self.relu2 = torch.nn.ReLU() |
| 71 | |
| 72 | def forward(self, x): |
| 73 | a = self.linear1(x) |