Fix style

This commit is contained in:
Angelos Katharopoulos 2025-06-20 16:45:00 -07:00
parent 90072445e7
commit 8ec7713893

View File

@ -260,7 +260,7 @@ class TestBase(mlx_tests.MLXTestCase):
m = m.update_modules({"list": ["hi"]})
# Allow updating a strict subset
m = nn.Sequential(nn.Linear(3, 3), nn. Linear(3, 3))
m = nn.Sequential(nn.Linear(3, 3), nn.Linear(3, 3))
m.update_modules({"layers": [{}, nn.Linear(3, 4)]})
self.assertEqual(m.layers[1].weight.shape, (4, 3))