def METHOD_NAME(self, cache_path, dataset, config, training_set_metadata, tag):
    save_hdf5(cache_path, dataset)
    if tag == TRAINING:
        training_set_metadata[DATA_TRAIN_HDF5_FP] = cache_path
    return dataset