MCPcopy Create free account
hub / github.com/ml-explore/mlx / MG

Class MG

python/tests/test_export_import.py:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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())

Callers 1

Calls

no outgoing calls

Tested by 1