/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | model_pruner_test.cc | 65 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 82 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 107 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 124 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 154 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 173 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 202 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 220 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 244 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 261 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() [all …]
|
D | layout_optimizer_test.cc | 229 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 264 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 286 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 299 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 312 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 325 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 338 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 351 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 366 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 393 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
D | dependency_optimizer_test.cc | 80 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 115 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 158 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 213 TF_CHECK_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 251 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 270 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 313 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 345 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 369 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 400 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
D | arithmetic_optimizer_test.cc | 112 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 149 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 184 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 226 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 271 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 305 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 352 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 378 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 424 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 476 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
D | pin_to_host_optimizer_test.cc | 78 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 118 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 154 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 194 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 229 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 265 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F()
|
D | generic_layout_optimizer_test.cc | 191 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 233 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 255 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 278 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 300 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 324 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 359 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 394 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 466 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F()
|
D | memory_optimizer_test.cc | 53 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 92 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 116 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 156 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 242 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 317 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 368 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 408 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 464 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 496 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
D | debug_stripper_test.cc | 38 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 60 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 86 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 147 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 202 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F()
|
D | constant_folding_test.cc | 81 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in SimpleNeutralElementTest() 170 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in MulConvPushDownTest() 235 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 280 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 359 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 452 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 518 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 758 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 941 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1031 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_control_flow_test.cc | 99 graph.ToGraphDef(&optimized_graph_def); in TEST() 104 graph.ToGraphDef(&converted_graph_def); in TEST() 127 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 144 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 169 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 254 graph.ToGraphDef(&optimized_graph_def); in TEST() 259 graph.ToGraphDef(&converted_graph_def); in TEST() 274 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 288 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 310 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() [all …]
|
D | resource_util_test.cc | 111 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 151 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 194 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 242 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 304 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 367 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 422 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 475 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST() 526 TF_EXPECT_OK(builder.ToGraphDef(&graphdef)); in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | function_test.cc | 702 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 705 g->ToGraphDef(&actual); in TEST_F() 724 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 727 g->ToGraphDef(&actual); in TEST_F() 762 TF_ASSERT_OK(s.ToGraphDef(&e2)); in TEST_F() 765 g->ToGraphDef(&actual); in TEST_F() 773 g->ToGraphDef(&actual); in TEST_F() 797 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 800 g->ToGraphDef(&actual); in TEST_F() 839 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_partition_test.cc | 205 const GraphDef& ToGraphDef() { in ToGraphDef() function in tensorflow::__anon3bd806970111::GraphPartitionTest 206 TF_EXPECT_OK(in_.ToGraphDef(&in_graph_def_)); in ToGraphDef() 212 TF_EXPECT_OK(scope_a_.ToGraphDef(&graph_def)); in ExpectMatchA() 219 TF_EXPECT_OK(scope_b_.ToGraphDef(&graph_def)); in ExpectMatchB() 244 Partition(ToGraphDef(), &partitions_); in TEST_F() 257 Partition(ToGraphDef(), &partitions_); in TEST_F() 278 Partition(ToGraphDef(), &partitions_); in TEST_F() 302 Partition(ToGraphDef(), &partitions_); in TEST_F() 325 Partition(ToGraphDef(), &partitions_); in TEST_F() 350 Partition(ToGraphDef(), &partitions_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fold_constants_test.cc | 71 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestSimpleAdd() 108 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestOpExclusionAdd() 132 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestShapePropagation() 161 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestPreserveOutputShapes() 236 TF_ASSERT_OK(o_root.ToGraphDef(&o_graph_def)); in TestReplaceSendRecvs() 246 TF_ASSERT_OK(n_root.ToGraphDef(&n_graph_def)); in TestReplaceSendRecvs() 271 TF_ASSERT_OK(o_root.ToGraphDef(&o_graph_def)); in TestReplaceSendRecvsPrefixNames() 280 TF_ASSERT_OK(n_root.ToGraphDef(&n_graph_def)); in TestReplaceSendRecvsPrefixNames() 318 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestRemoveUnusedNodes() 358 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestMaxConstantSizeInBytes()
|
D | quantize_nodes_test.cc | 179 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestIgnoreOps() 224 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeMatMul() 275 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeMul() 310 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeAdd() 339 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeConv2D() 362 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeBiasAdd() 389 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeConcat() 407 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeRelu() 425 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeRelu6() 444 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeMaxPool() [all …]
|
D | transform_utils_test.cc | 53 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestMapNamesToNodes() 86 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestMapNodesToOutputs() 242 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestFilterGraphDef() 267 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestRemoveAttributes() 300 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestGetOpTypeMatches() 393 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestGetOpTypeMatchesDAG() 430 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestReplaceMatchingOpTypes() 539 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestRenameNodeInputs() 577 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestRenameNodeInputsWithRedirects() 615 TF_ASSERT_OK(root.ToGraphDef(&graph_def)); in TestRenameNodeInputsWithCycle() [all …]
|
D | fold_batch_norms_test.cc | 67 TF_ASSERT_OK(root.ToGraphDef(&original_graph_def)); in TestFoldBatchNormsConv2D() 118 TF_ASSERT_OK(root.ToGraphDef(&original_graph_def)); in TestFoldBatchNormsDepthwiseConv2dNative() 177 TF_ASSERT_OK(root.ToGraphDef(&original_graph_def)); in TestFoldBatchNormsConv2DShared() 226 TF_ASSERT_OK(root.ToGraphDef(&original_graph_def)); in TestFoldBatchNormsMatMul()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | grappler_test_test.cc | 41 TF_ASSERT_OK(s1.ToGraphDef(&graph1)); in TEST_F() 44 TF_ASSERT_OK(s2.ToGraphDef(&graph2)); in TEST_F() 58 TF_ASSERT_OK(s.ToGraphDef(&graph)); in TEST_F() 90 TF_ASSERT_OK(s.ToGraphDef(&graph)); in TEST_F()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | master_test.cc | 185 test::graph::ToGraphDef(&graph_1, &def_1); in TEST_F() 196 test::graph::ToGraphDef(&graph_2, &def_2); in TEST_F() 220 test::graph::ToGraphDef(&graph_1, &def_1); in TEST_F() 239 test::graph::ToGraphDef(&graph_1, &def_1); in TEST_F() 258 test::graph::ToGraphDef(&graph_1, &def_1); in TEST_F() 300 test::graph::ToGraphDef(&graph_0, &def_0); in TEST_F() 311 test::graph::ToGraphDef(&graph_1, &def_1); in TEST_F() 382 test::graph::ToGraphDef(&graph, &def); in TEST_F()
|
/external/tensorflow/tensorflow/core/framework/ |
D | graph_to_functiondef_test.cc | 66 TF_EXPECT_OK(root.ToGraphDef(&graph_def)); in TEST() 103 TF_EXPECT_OK(root.ToGraphDef(&graph_def)); in TEST() 136 TF_EXPECT_OK(root.ToGraphDef(&graph_def)); in TEST()
|
/external/tensorflow/tensorflow/cc/tools/ |
D | freeze_saved_model_test.cc | 140 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TestFreezeGraphWithoutDependentVariables() 157 TF_ASSERT_OK(expected_scope.ToGraphDef(&expected_graph_def)); in TestFreezeGraphWithoutDependentVariables() 185 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TestFreezeGraphWithDependentVariables() 246 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TestFreezeGraphWithAndWithoutDependentVariables() 341 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TEST_F() 366 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TEST_F() 391 TF_ASSERT_OK(scope.ToGraphDef(&graph_def)); in TEST_F()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties_test.cc | 405 TF_CHECK_OK(root.ToGraphDef(&item.graph)); in TEST_F() 423 TF_CHECK_OK(root.ToGraphDef(&item.graph)); in TEST_F() 441 TF_CHECK_OK(root.ToGraphDef(&item.graph)); in TEST_F() 494 TF_CHECK_OK(root.ToGraphDef(&item.graph)); in TEST_F() 860 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 906 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 929 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 986 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1009 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1029 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_session_test.cc | 60 test::graph::ToGraphDef(&graph, graph_def); in CreateGraphDef() 362 test::graph::ToGraphDef(&graph, &def); in FindMaxEigen() 430 test::graph::ToGraphDef(&graph, &def); in TEST() 510 test::graph::ToGraphDef(&graph, &def); in TEST() 545 test::graph::ToGraphDef(&graph, &def); in TEST() 602 test::graph::ToGraphDef(&graph, &def); in TEST() 666 test::graph::ToGraphDef(&g, &gdef); in TEST() 723 g.ToGraphDef(&gdef); in TEST() 785 test::graph::ToGraphDef(&g, &gdef); in TEST() 826 test::graph::ToGraphDef(&g, &gdef); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | grappler_item_builder_test.cc | 52 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F() 116 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F() 219 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F() 256 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F() 286 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F() 323 TF_CHECK_OK(s.ToGraphDef(meta_graph.mutable_graph_def())); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_subgraphs_pass_test.cc | 52 TF_RETURN_IF_ERROR(graphdef_builder.ToGraphDef(&graphdef)); in AddGraphDefToFunctionLibrary() 551 graph_out->ToGraphDef(&graphdef_out); in Encapsulate() 582 TF_EXPECT_OK(builder.ToGraphDef(&graphdef_in)); in TEST() 611 TF_EXPECT_OK(b1.ToGraphDef(&graphdef)); in TEST() 640 TF_EXPECT_OK(b2.ToGraphDef(&graphdef_expected)); in TEST() 666 TF_EXPECT_OK(b1.ToGraphDef(&graphdef)); in TEST() 705 TF_EXPECT_OK(b2.ToGraphDef(&graphdef_expected)); in TEST() 902 TF_EXPECT_OK(b1.ToGraphDef(&graphdef)); in TEST() 993 TF_EXPECT_OK(b2.ToGraphDef(&graphdef_expected)); in TEST() 1034 TF_EXPECT_OK(b1.ToGraphDef(&graphdef)); in TEST() [all …]
|