Home
last modified time | relevance | path

Searched refs:graph_size (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/grappler/
Dmemory_optimizer_test.py51 graph_size = len(mg.graph_def.node)
62 self.assertEqual(len(graph.node), graph_size)
79 graph_size = len(mg.graph_def.node)
91 self.assertEqual(len(graph.node), graph_size + 2)
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc608 size_t graph_size = graph.node_size(); in TestGraphEveryWay() local
623 InitPermutation(graph_size, &plain_permutation, &countdown); in TestGraphEveryWay()
639 std::vector<std::unique_ptr<SigNode>> hold(graph_size); in TestGraphEveryWay()
675 EXPECT_THAT(sig_.sig_full, SizeIs(graph_size)); in TestGraphEveryWay()
679 EXPECT_THAT(ih, Gt(graph_size)); in TestGraphEveryWay()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc186 int graph_size) { in IdentityNTerminalPorts() argument
190 to_visit.reserve(graph_size); in IdentityNTerminalPorts()