Class RepeatDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
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.
-
RepeatDataset(const std::shared_ptr<Dataset> &input, int32_t count)