(self)
| 92 | |
| 93 | class Conv1dModule(torch.nn.Module, EagerModelBase): |
| 94 | def __init__(self): |
| 95 | super().__init__() |
| 96 | self.conv1d = torch.nn.Conv1d( |
| 97 | in_channels=3, out_channels=16, kernel_size=3, padding=1 |
| 98 | ) |
| 99 | |
| 100 | def forward(self, x): |
| 101 | return self.conv1d(x) |