Tutorials
Examples
References
Other
Community
chainer.serializers.
save_npz
Saves an object to the file in NPZ format.
This is a short-cut function to save only one object into an NPZ file.
file (str or file-like) – Target file to write to.
obj – Object to be serialized. It must support serialization protocol. If it is a dictionary object, the serialization will be skipped.
compression (bool) – If True, compression in the resulting zip file is enabled.
True
See also
chainer.serializers.load_npz()