mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-24 02:41:19 +08:00
parent
8915901966
commit
433c0206b0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user