Home
last modified time | relevance | path

Searched refs:RenameNode (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Drename_node.cc30 RenameNode::RenameNode(std::shared_ptr<DatasetNode> child, const std::vector<std::string> &input_co… in RenameNode() function in mindspore::dataset::RenameNode
36 std::shared_ptr<DatasetNode> RenameNode::Copy() { in Copy()
37 auto node = std::make_shared<RenameNode>(nullptr, input_columns_, output_columns_); in Copy()
41 void RenameNode::Print(std::ostream &out) const { in Print()
45 Status RenameNode::ValidateParams() { in ValidateParams()
60 Status RenameNode::Build(std::vector<std::shared_ptr<DatasetOp>> *const node_ops) { in Build()
68 Status RenameNode::to_json(nlohmann::json *out_json) { in to_json()
76 Status RenameNode::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetNode> ds, in from_json()
82 *result = std::make_shared<RenameNode>(ds, input_columns, output_columns); in from_json()
Drename_node.h29 class RenameNode : public DatasetNode {
32 …explicit RenameNode(std::shared_ptr<DatasetNode> child, const std::vector<std::string> &input_colu…
36 ~RenameNode() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/
Dbindings.cc217 RenameNode, 2, ([](const py::module *m) { in __anonb78612491802()
218 …(void)py::class_<RenameNode, DatasetNode, std::shared_ptr<RenameNode>>(*m, "RenameNode", "to creat… in __anonb78612491802()
220 …auto rename = std::make_shared<RenameNode>(self, toStringVector(input_columns), toStringVector(out… in __anonb78612491802()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/
Dpass.h43 class RenameNode; variable
197 virtual Status Visit(std::shared_ptr<RenameNode> node, bool *const modified);
198 virtual Status VisitAfter(std::shared_ptr<RenameNode> node, bool *const modified);
Dpass.cc216 Status IRNodePass::Visit(std::shared_ptr<RenameNode> node, bool *const modified) { in Visit()
219 Status IRNodePass::VisitAfter(std::shared_ptr<RenameNode> node, bool *const modified) { in VisitAfter()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dserdes.cc192 RETURN_IF_NOT_OK(RenameNode::from_json(json_obj, ds, result)); in CreateDatasetOperationNode()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc482 auto ds = std::make_shared<RenameNode>(input->IRNode(), VectorCharToString(input_columns), in RenameDataset()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py3068 return cde.RenameNode(children[0], self.input_column_names, self.output_column_names)