mindspore.dataset.Shuffle

View Source On Gitee
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.