mlx.core.save

目录

mlx.core.save#

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

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

参数:
  • file (str, Path, file) -- File to which the array is saved

  • arr (array) -- Array to be saved.