code: def save_sampleset(self, f, name):
          '''Serialize the sampleset to file using the HDF5 format. Name is usually in {train, test}.'''
          f.create_dataset(name + '_encoder_x', data=self.encoder_x)
          f.create_dataset(name + '_decoder_x', data=self.decoder_x)
          f.create_dataset(name + '_decoder_y', data=self.decoder_yf save_sampleset(self, f, name):
          '''Serialize the sampleset to file using the HDF5 format. Name is usually in {train, test}.'''
          f.create_dataset(name + '_encoder_x', data=self.encoder_x)
          f.create_dataset(name + '_decoder_x', data=self.decoder_x)
          f.create_dataset(name + '_decoder_y', data=self.decoder_y)
docs: Serialize the sampleset to file using the HDF5 format. Name is usually in {train, test}.