save¶
-
save(file, arr)¶ Saves a list of ndarray`s or a dict of `str->`ndarray` to file.
Examples of filenames:
/path/to/files3://my-bucket/path/to/file(if compiled with AWS S3 supports)hdfs://path/to/file(if compiled with HDFS supports)
Parameters: - file : str
Filename to which the data is saved.
- arr : ndarray or list of ndarray`s or dict of `str to ndarray
The data to be saved.
Notes
This function can only be called within numpy semantics, i.e., npx.is_np_shape() and npx.is_np_array() must both return true.