Update saving_and_loading.rst (#929)

Update saving / load docs.
This commit is contained in:
Suvan Kumar 2024-03-30 14:30:06 -07:00 committed by GitHub
parent 8915901966
commit 433c0206b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: