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