chainer.serializers.NpzDeserializer¶
-
class
chainer.serializers.
NpzDeserializer
(npz, path='', strict=True)[source]¶ Deserializer for NPZ format.
This is the standard deserializer in Chainer. This deserializer can be used to read an object serialized by
save_npz()
.Parameters: - npz – npz file object.
- path – The base path that the deserialization starts from.
- strict (bool) – If
True
, the deserializer raises an error when an expected value is not found in the given NPZ file. Otherwise, it ignores the value and skip deserialization.
Methods