(self)
| 23 | |
| 24 | class Model(torch.nn.Module): |
| 25 | def __init__(self): |
| 26 | super(Model, self).__init__() |
| 27 | self.conv1 = torch.nn.Conv2d(3, 128, (1, 1)) |
| 28 | self.conv2 = torch.nn.Conv2d(128, 256, (10, 10)) |
| 29 | self.conv3 = torch.nn.Conv2d(256, 26, (10, 10)) |
| 30 | self.linear = torch.nn.Linear(206, 12) |
| 31 | |
| 32 | def forward(self, x): |
| 33 | x = self.conv1(x) |