Class SkipDataset

Inheritance Relationships

Base Type

Class Documentation

class SkipDataset : public mindspore::dataset::Dataset

The result of applying the Skip operator to the input Dataset.

Public Functions

SkipDataset(const 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() override = default

Destructor of SkipDataset.