mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-20 03:48:15 +08:00
@@ -49,7 +49,7 @@ it will be added. You can load the array with:
|
|||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
>>> mx.load("array.npy", a)
|
>>> mx.load("array.npy")
|
||||||
array([1], dtype=float32)
|
array([1], dtype=float32)
|
||||||
|
|
||||||
Here's an example of saving several arrays to a single file:
|
Here's an example of saving several arrays to a single file:
|
||||||
|
Reference in New Issue
Block a user