mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 08:20:15 +08:00
Export with callback (#2612)
* export with callback * export with callback * Add types, fix kwarg ordering bug + test * cleanup, test, fix * typos
This commit is contained in:
@@ -319,7 +319,7 @@ class TestCompile(mlx_tests.MLXTestCase):
|
||||
# Check the state is unchanged
|
||||
self.assertEqual(state["y"], 2)
|
||||
|
||||
# Check the udpated state is used
|
||||
# Check the updated state is used
|
||||
state["y"] = mx.array(3)
|
||||
out = test_state(mx.array(1))
|
||||
self.assertEqual(out.item(), 4)
|
||||
|
Reference in New Issue
Block a user