Class RepeatDataset

Inheritance Relationships

Base Type

Class Documentation

class RepeatDataset : public mindspore::dataset::Dataset

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

Public Functions

RepeatDataset(const std::shared_ptr<Dataset> &input, int32_t count)

Constructor of RepeatDataset.

Note

Repeats this dataset count times. Repeat indefinitely if count is -1.

Parameters
  • input[in] The dataset which need to apply repeat operation.

  • count[in] Number of times the dataset should be repeated.

~RepeatDataset() override = default

Destructor of RepeatDataset.