chainer.testing.save_and_load_hdf5

chainer.testing.save_and_load_hdf5(src, dst)[source]

Saves src to an HDF5 file and loads it to dst.

This is a short cut of save_and_load() using HDF5 de/serializers.

Parameters
  • src – An object to save.

  • dst – An object to load to.