Function mindspore::dataset::Zip

Function Documentation

inline std::shared_ptr<ZipDataset> mindspore::dataset::Zip(const std::vector<std::shared_ptr<Dataset>> &datasets)

Function to create a ZipDataset.

Note

Applies zip to the dataset.

Parameters

datasets[in] List of shared pointers to the datasets that we want to zip.

Returns

Shared pointer to the ZipDataset.