mindspore.dataset.Shuffle

class mindspore.dataset.Shuffle[source]

Specify the shuffle mode.

  • GLOBAL: Shuffle both the files and samples.

  • FILES: Shuffle files only.

  • INFILE: Shuffle data within each file.