mlx.core.save

目录

mlx.core.save#

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

将数组保存为 .npy 格式的二进制文件。

参数:
  • file (str) – 要保存数组的文件

  • arr (array) – 要保存的数组。