Class ShuffleDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
Class Documentation
-
class ShuffleDataset : public mindspore::dataset::Dataset
The result of applying the Shuffle operator to the input Dataset.
Public Functions
Constructor of ShuffleDataset.
Note
Randomly shuffles the rows of this dataset.
- Parameters
input – [in] The dataset which need to apply shuffle operation.
buffer_size – [in] The size of the buffer (must be larger than 1) for shuffling
-
~ShuffleDataset() = default
Destructor of ShuffleDataset.