def load_hdf5(filename, obj):
 _check_available()
 with h5py.File(filename, 'r') as f:
  d = HDF5Deserializer(f)
  d.load(obj)

def load_hdf5 ( filename , obj ) : _check_available ( ) with h5py . File ( filename , 'r' ) as f : d = HDF5Deserializer ( f ) d . load ( obj )
loads an object from the file in hdf5 format .