cupy.savez¶
- cupy.savez(file, *args, **kwds)[source]¶
Saves one or more arrays into a file in uncompressed
.npz
format.Arguments without keys are treated as arguments with automatic keys named
arr_0
,arr_1
, etc. corresponding to the positions in the argument list. The keys of arguments are used as keys in the.npz
file, which are used for accessing NpzFile object when the file is read bycupy.load()
function.- Parameters
file (file or str) – File or filename to save.
*args – Arrays with implicit keys.
**kwds – Arrays with explicit keys.
See also