Home
last modified time | relevance | path

Searched refs:updated_node_names (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_internal_test.cc45 absl::flat_hash_map<absl::string_view, int> updated_node_names; in GetUpdatedNodeNames() local
46 updated_node_names.reserve(graph_view->NumNodes()); in GetUpdatedNodeNames()
48 updated_node_names.emplace(node_view.GetName(), -1); in GetUpdatedNodeNames()
50 return updated_node_names; in GetUpdatedNodeNames()
61 auto updated_node_names = GetUpdatedNodeNames(&graph_view); in TEST() local
68 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST()
72 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST()
76 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST()
85 auto updated_node_names = GetUpdatedNodeNames(&graph_view); in TEST() local
92 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST()
[all …]
Dgraph_view_internal.h474 const absl::flat_hash_map<absl::string_view, int>& updated_node_names, in CheckNodeNameExists() argument
476 auto it = updated_node_names.find(node_name); in CheckNodeNameExists()
477 if (it != updated_node_names.end()) { in CheckNodeNameExists()
679 const absl::flat_hash_map<absl::string_view, int>& updated_node_names) { in IsWellFormed() argument
701 !CheckNodeNameExists(fanin_node_name, updated_node_names, in IsWellFormed()
885 const absl::flat_hash_map<absl::string_view, int>& updated_node_names) { in IsWellFormed() argument
893 auto invalid_node_name = [new_node, updated_node_names, in IsWellFormed()
896 !CheckNodeNameExists(fanin_node_name, updated_node_names, in IsWellFormed()