(self)
| 131 | |
| 132 | class Conv2dAndMaxPool2DModule(torch.nn.Module): |
| 133 | def __init__(self): |
| 134 | super().__init__() |
| 135 | |
| 136 | self.conv = torch.nn.Conv2d( |
| 137 | in_channels=8, out_channels=32, kernel_size=5, bias=True |
| 138 | ) |
| 139 | self.maxpool = torch.nn.MaxPool2d(kernel_size=2, stride=2) |
| 140 | |
| 141 | def forward(self, x): |
| 142 | x = self.conv(x) |