mindspore.dataset.config.set_fast_recovery
- mindspore.dataset.config.set_fast_recovery(fast_recovery)
Set whether dataset pipeline should recover in fast mode during failover (yet with slightly different random augmentations).
- Parameters
fast_recovery (bool) – Whether the dataset pipeline recovers in fast mode.
- Raises
TypeError – If fast_recovery is not a boolean data type.
Examples
>>> ds.config.set_fast_recovery(False)