Searched refs:graph2 (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/contrib/copy_graph/python/util/ |
D | copy_test.py | 34 self.graph2 = ops.Graph() 47 copy1 = copy_elements.copy_variable_to_graph(some_var, self.graph2) 51 self.graph2, 55 with self.graph2.as_default(): 75 self.graph2 = ops.Graph() 92 a1 = copy_elements.copy_variable_to_graph(a, self.graph2) 95 with self.graph2.as_default(): 102 y1 = copy_elements.copy_op_to_graph(y, self.graph2, [a1]) 106 x1 = copy_elements.get_copied_op(x, self.graph2)
|
/external/tensorflow/tensorflow/python/framework/ |
D | meta_graph_test.py | 283 with ops.Graph().as_default() as graph2: 285 global_vars = graph2.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 286 trainable_vars = graph2.get_collection(ops.GraphKeys.TRAINABLE_VARIABLES) 761 graph2 = ops.Graph() 763 orig_meta_graph, import_scope="new_hidden1/new_hidden2", graph=graph2) 781 self.assertEqual([e], graph2.get_operation_by_name(n).get_attr("_class")) 806 graph2 = ops.Graph() 807 with graph2.as_default(): 845 graph2 = ops.Graph() 846 with graph2.as_default(): [all …]
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | grappler_test_test.cc | 43 GraphDef graph2; in TEST_F() local 44 TF_ASSERT_OK(s2.ToGraphDef(&graph2)); in TEST_F() 46 CompareGraphs(graph1, graph2); in TEST_F()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_db_writer_test.cc | 308 GraphDef graph2; in TEST_F() local 309 graph2.ParseFromString(QueryString("SELECT graph_def FROM Graphs")); in TEST_F() 310 EXPECT_EQ(0, graph2.node_size()); in TEST_F() 311 EXPECT_EQ("funk", graph2.library().gradient(0).function_name()); in TEST_F()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_test.cc | 422 Graph graph2(OpRegistry::Global()); in TEST_F() local 425 TF_CHECK_OK(NodeBuilder("g2_node1", "NoOp").Finalize(&graph2, &g2_node1)); in TEST_F() 426 TF_CHECK_OK(NodeBuilder("g2_node2", "NoOp").Finalize(&graph2, &g2_node2)); in TEST_F()
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | sig_node_test.cc | 492 GraphDef graph2; in TEST_F() local 493 (*graph2.add_node()) = MakeNodeConst("node1"); in TEST_F() 495 auto node22 = graph2.add_node(); in TEST_F() 500 ASSERT_THAT(GenNode::BuildGraphInMap(graph2, &gen_map2), Eq(Status::OK())); in TEST_F()
|
/external/tensorflow/tensorflow/python/training/ |
D | saver_test.py | 2676 graph2 = ops_lib.Graph() 2681 to_graph=graph2) 2683 with self.session(graph=graph2) as sess: 2713 graph2 = ops_lib.Graph() 2718 to_graph=graph2) 2720 with self.session(graph=graph2) as sess: 2762 graph2 = ops_lib.Graph() 2767 to_graph=graph2) 2770 saver_list2 = graph2.get_collection(ops_lib.GraphKeys.SAVERS) 2773 with self.session(graph=graph2) as sess:
|