| 423 | path = os.path.join(self.test_dir, "conv2d_grouped.mlxfn") |
| 424 | |
| 425 | class MG(nn.Module): |
| 426 | def __init__(self): |
| 427 | super().__init__() |
| 428 | self.c = nn.Conv2d( |
| 429 | 4, 6, kernel_size=3, stride=2, padding=1, groups=2, bias=False |
| 430 | ) |
| 431 | |
| 432 | def __call__(self, x): |
| 433 | return self.c(x) |
| 434 | |
| 435 | mg = MG() |
| 436 | mx.eval(mg.parameters()) |
no outgoing calls