(self, n_channels)
| 196 | """ |
| 197 | |
| 198 | def __init__(self, n_channels): |
| 199 | super().__init__() |
| 200 | self.conv = nn.Conv2d(n_channels, n_channels, (3, 3), (2, 2), (1, 1)) |
| 201 | |
| 202 | def forward(self, x: torch.Tensor, t: torch.Tensor): |
| 203 | # `t` is not used, but it's kept in the arguments because for the attention layer function signature |