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

Class M3

python/tests/test_export_import.py:401–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 path = os.path.join(self.test_dir, "conv3d.mlxfn")
400
401 class M3(nn.Module):
402 def __init__(self):
403 super().__init__()
404 self.c = nn.Conv3d(2, 4, kernel_size=3, stride=2, padding=1, bias=False)
405
406 def __call__(self, x):
407 return self.c(x)
408
409 m3 = M3()
410 mx.eval(m3.parameters())

Callers 1

Calls

no outgoing calls

Tested by 1