Class ProjectDataset

Inheritance Relationships

Base Type

Class Documentation

class ProjectDataset : public mindspore::dataset::Dataset

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

Public Functions

ProjectDataset(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() = default

Destructor of ProjectDataset.