Searched refs:expected_graph (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/optimizers/inference/ |
D | batch_op_rewriter_test.cc | 93 GraphDef expected_graph; in TEST_P() local 94 AddBatchOp(&expected_graph, GetParam() ? 0 : 16); in TEST_P() 96 EXPECT_EQ(optimized_graph.DebugString(), expected_graph.DebugString()); in TEST_P()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | graph_view_test.cc | 796 const GraphDef& expected_graph) { in CompareGraphViewWithGraph() argument 798 GraphView expected_graph_view(&expected_graph, &s); in CompareGraphViewWithGraph() 952 CompareGraphs(*graph_view->graph(), expected_graph); in CompareGraphViewWithGraph() 1201 GraphDef expected_graph = GDef({NDef("a", kNoOp, {}, {}, kDeviceCPU0), in TEST_F() local 1204 CompareGraphViewWithGraph(&graph_view, expected_graph); in TEST_F() 1234 GraphDef expected_graph = in TEST_F() local 1241 CompareGraphViewWithGraph(&graph_view, expected_graph); in TEST_F() 1297 GraphDef expected_graph = in TEST_F() local 1303 CompareGraphViewWithGraph(&graph_view, expected_graph); in TEST_F() 1322 GraphDef expected_graph = in TEST_F() local [all …]
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | fake_summary_writer.py | 64 expected_graph=None, argument 72 if expected_graph is not None: 73 test_case.assertTrue(expected_graph is self._graph)
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | utils_test.py | 143 with ops.Graph().as_default() as expected_graph: 149 graph=expected_graph) 151 self.assertIs(actual.graph, expected_graph)
|
/external/tensorflow/tensorflow/python/training/ |
D | basic_session_run_hooks_test.py | 988 expected_graph=g, 1019 expected_graph=g, 1053 expected_graph=g, 1108 expected_graph=g, 1131 expected_graph=g, 1155 expected_graph=g,
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_model_test.cc | 89 const auto expected_graph = expected_model.subgraphs[subgraph_idx].get(); in ExpectSameModels() local 90 ASSERT_EQ(graph->tensors.size(), expected_graph->tensors.size()); in ExpectSameModels() 93 const auto expected_tensor = expected_graph->tensors[i].get(); in ExpectSameModels() 1260 const auto expected_graph = expected_model.subgraphs[subgraph_idx].get(); in TEST_F() local 1261 ASSERT_EQ(graph->tensors.size(), expected_graph->tensors.size()); in TEST_F() 1264 const auto expected_tensor = expected_graph->tensors[i].get(); in TEST_F()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | function_test.cc | 1136 auto expected_graph = [&](const NodeDef& caller) -> GraphDef { in TEST_F() local 1162 expected_graph(/*caller=*/ in TEST_F() 1181 expected_graph(/*caller=*/ in TEST_F() 1224 auto expected_graph = [&](const std::vector<string>& placed) -> GraphDef { in TEST_F() local 1251 GraphDef expected = expected_graph({/*a*/ arg_device, // in TEST_F() 1272 GraphDef expected = expected_graph({/*a*/ arg_device, // in TEST_F() 1295 GraphDef expected = expected_graph({/*a*/ arg_device, // in TEST_F()
|
/external/tensorflow/tensorflow/python/framework/ |
D | meta_graph_test.py | 1026 with ops.Graph().as_default() as expected_graph: 1031 expected = meta_graph.export_scoped_meta_graph(graph=expected_graph)[0]
|