Enum ShuffleMode

Enum Documentation

enum class mindspore::dataset::ShuffleMode

The mode for shuffling data.

Values:

enumerator kFalse

No shuffling is performed.

enumerator kFiles

Shuffle files only.

enumerator kGlobal

Shuffle both the files and samples.

enumerator kInfile

Shuffle data within each file.

enumerator kPartial

Shuffle data with every 1 million samples.

enumerator kAdaptive

When the number of dataset samples is less than or equal to 100 million, global shuffle is used. When the number of dataset samples is greater than 100 million, partial shuffle is used.