Searched refs:new_node_name (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | rename_node.cc | 40 const std::string new_node_name = context.params.at("new_node_name")[0]; in RenameNode() local 46 if (node->name() == new_node_name) { in RenameNode() 48 "A node is alreading using " + new_node_name + "as name."); in RenameNode() 51 node->set_name(new_node_name); in RenameNode() 59 std::string new_input_name = prefix + new_node_name + suffix; in RenameNode()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | graph_view_internal_test.cc | 639 string new_node_name = "e"; in TEST() local 642 updated_node_names.emplace(new_node_name, -1); in TEST() 669 string new_node_name = "e"; in TEST() local 672 updated_node_names.emplace(new_node_name, -1); in TEST() 699 string new_node_name = "e"; in TEST() local 702 updated_node_names.emplace(new_node_name, -1); in TEST() 729 string new_node_name = "e"; in TEST() local 732 updated_node_names.emplace(new_node_name, -1); in TEST() 759 string new_node_name = "e"; in TEST() local 762 updated_node_names.emplace(new_node_name, -1); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | model_pruner.cc | 279 string new_node_name = in NewIdentityFromIdentityN() local 281 if (node_map->NodeExists(new_node_name)) { in NewIdentityFromIdentityN() 285 Status status = NodeDefBuilder(new_node_name, "Identity") in NewIdentityFromIdentityN()
|
D | constant_folding.cc | 3620 const string new_node_name = OptimizedNodeName( in PartialAssocOpConstFolding() local 3623 !node_map_->NodeExists(new_node_name)) { in PartialAssocOpConstFolding() 3630 added_node->set_name(new_node_name); in PartialAssocOpConstFolding() 3721 string new_node_name = OptimizedNodeName(*node, "_partial_split"); in PartialConcatConstFolding() local 3723 new_node_name += strings::StrCat("_", interval.first); in PartialConcatConstFolding() 3724 } while (node_map_->NodeExists(new_node_name)); in PartialConcatConstFolding() 3729 added_node->set_name(new_node_name); in PartialConcatConstFolding()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | import_model.cc | 542 std::string new_node_name = new_node_name_base; in GetUniqueNodeName() local 543 while (node_name_map.find(new_node_name) != node_name_map.end()) { in GetUniqueNodeName() 544 new_node_name = absl::StrCat(new_node_name_base, "_", count++); in GetUniqueNodeName() 546 return new_node_name; in GetUniqueNodeName() 619 std::string new_node_name = in CreatePlaceholderNodeForFeed() local 624 NodeBuilder builder(new_node_name, "Placeholder"); in CreatePlaceholderNodeForFeed()
|