Class SkipDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
Class Documentation
-
class SkipDataset : public mindspore::dataset::Dataset
The result of applying the Skip operator to the input Dataset.
Public Functions
-
SkipDataset(std::shared_ptr<Dataset> input, int32_t count)
Constructor of SkipDataset.
Note
Skips count elements in this dataset.
- Parameters
input – [in] The dataset which need to apply skip operation.
count – [in] Number of elements the dataset to be skipped.
-
~SkipDataset() = default
Destructor of SkipDataset.
-
SkipDataset(std::shared_ptr<Dataset> input, int32_t count)