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 appropriate- h5py.Groupobjects.- Parameters
- filename (str) – Name of the file to be loaded. 
- obj – Object to be deserialized. It must support serialization protocol. 
 
 - Note - Currently - load_hdf5()only supports loading an actual file on file system due to a limitation of HD5F library. See h5py/h5py#687 for details.- See also