mindspore.dataset.Shuffle

class mindspore.dataset.Shuffle[source]

Specify the shuffle mode.

  • Shuffle.GLOBAL: Shuffle both the files and samples.

  • Shuffle.FILES: Shuffle files only.

  • Shuffle.INFILE: Shuffle data within each file.