Home
last modified time | relevance | path

Searched refs:expected_graph (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/inference/
Dbatch_op_rewriter_test.cc93 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/
Dgraph_view_test.cc796 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/
Dfake_summary_writer.py64 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/
Dutils_test.py143 with ops.Graph().as_default() as expected_graph:
149 graph=expected_graph)
151 self.assertIs(actual.graph, expected_graph)
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks_test.py988 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/
Dquantize_model_test.cc89 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/
Dfunction_test.cc1136 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/
Dmeta_graph_test.py1026 with ops.Graph().as_default() as expected_graph:
1031 expected = meta_graph.export_scoped_meta_graph(graph=expected_graph)[0]