Function mindspore::dataset::operator+

Function Documentation

inline std::shared_ptr<ConcatDataset> mindspore::dataset::operator+(const std::shared_ptr<Dataset> &datasets1, const std::shared_ptr<Dataset> &datasets2)

Function to create a ConcatDataset.

Note

Reload “+” operator to concat two datasets.

Parameters
  • datasets1[in] Shared pointer to the first dataset to be concatenated.

  • datasets2[in] Shared pointer to the second dataset to be concatenated.

Returns

Shared pointer to the current Dataset.