mlx.core.save

Contents

mlx.core.save#

save(file: file | str | Path, arr: array) None#

Save the array to a binary file in .npy format.

Parameters:
  • file (str, Path, file) – File to which the array is saved

  • arr (array) – Array to be saved.