chainer.serializers.load_hdf5¶
-
chainer.serializers.load_hdf5(filename, obj)[source]¶ Loads an object from the file in HDF5 format.
This is a short-cut function to load from an HDF5 file that contains only one object. If you want to load multiple objects from one HDF5 file, use
HDF5Deserializerdirectly by passing appropriateh5py.Groupobjects.Parameters: - filename (str) – Name of the file to be loaded.
- obj – Object to be deserialized. It must support serialization protocol.