Class ProjectDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
Class Documentation
-
class ProjectDataset : public mindspore::dataset::Dataset
The result of applying the Project operator to the input Dataset.
Public Functions
-
ProjectDataset(const std::shared_ptr<Dataset> &input, const std::vector<std::vector<char>> &columns)
Constructor of ProjectDataset.
Note
Applies project to the dataset.
- Parameters
input – [in] The dataset which need to apply project operation.
columns – [in] The name of columns to project.
-
~ProjectDataset() override = default
Destructor of ProjectDataset.
-
ProjectDataset(const std::shared_ptr<Dataset> &input, const std::vector<std::vector<char>> &columns)