/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() 123 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 152 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 171 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 200 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 218 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 242 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 259 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() [all …]
|
D | layout_optimizer_test.cc | 235 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 270 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 292 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 305 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 318 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 331 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 344 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 357 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 370 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 386 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 | pin_to_host_optimizer_test.cc | 58 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 98 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 134 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 174 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 209 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 245 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F()
|
D | arithmetic_optimizer_test.cc | 120 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 165 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 199 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 246 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 272 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 318 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 371 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 460 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 541 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 610 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() 239 TF_CHECK_OK(s.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 | generic_layout_optimizer_test.cc | 236 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 281 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 300 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 323 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 342 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 365 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 387 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 421 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 459 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F() 543 TF_ASSERT_OK(scope.ToGraphDef(&item.graph)); in TEST_F()
|
D | constant_folding_test.cc | 82 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in SimpleNeutralElementTest() 171 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in MulConvPushDownTest() 244 TF_CHECK_OK(scope.ToGraphDef(&item.graph)); in PaddingWithZeroSize() 290 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 335 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 414 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 507 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 573 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 822 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1005 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
D | shape_optimizer_test.cc | 46 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 108 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 142 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F()
|
/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() 106 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F() 121 TF_CHECK_OK(s.ToGraphDef(&item.graph)); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/mlir/ |
D | mlir_graph_optimization_pass_test.cc | 115 graph_->ToGraphDef(&resulted_graph_def); in verifyGraph() 142 graph_->ToGraphDef(&original_graph_def); in TEST_F() 157 graph_->ToGraphDef(&original_graph_def); in TEST_F() 171 graph_->ToGraphDef(&original_graph_def); in TEST_F() 187 graph_->ToGraphDef(&original_graph_def); in TEST_F() 204 graph_->ToGraphDef(&original_graph_def); in TEST_F() 221 graph_->ToGraphDef(&original_graph_def); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_control_flow_test.cc | 162 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in CheckGraphDef() 179 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in CheckGraphDef() 202 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in CheckGraphDef() 250 graph.ToGraphDef(&optimized_graph_def); in RunTest() 279 body->graph->ToGraphDef(&graph_def); in RunTest() 285 graph.ToGraphDef(&converted_graph_def); in RunTest() 361 graph.ToGraphDef(&optimized_graph_def); in TEST() 366 graph.ToGraphDef(&converted_graph_def); in TEST() 381 TF_EXPECT_OK(scope.ToGraphDef(&expected)); in TEST() 395 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/graph/ |
D | graph_partition_test.cc | 205 const GraphDef& ToGraphDef() { in ToGraphDef() function in tensorflow::__anonc404fe730111::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/common_runtime/ |
D | function_test.cc | 829 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 832 g->ToGraphDef(&actual); in TEST_F() 851 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 854 g->ToGraphDef(&actual); in TEST_F() 889 TF_ASSERT_OK(s.ToGraphDef(&e2)); in TEST_F() 892 g->ToGraphDef(&actual); in TEST_F() 900 g->ToGraphDef(&actual); in TEST_F() 924 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() 927 g->ToGraphDef(&actual); in TEST_F() 966 TF_ASSERT_OK(s.ToGraphDef(&expected)); in TEST_F() [all …]
|
/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/core/grappler/costs/ |
D | graph_properties_test.cc | 427 TF_ASSERT_OK(root.ToGraphDef(&item.graph)); in TEST_F() 445 TF_ASSERT_OK(root.ToGraphDef(&item.graph)); in TEST_F() 463 TF_ASSERT_OK(root.ToGraphDef(&item.graph)); in TEST_F() 516 TF_ASSERT_OK(root.ToGraphDef(&item.graph)); in TEST_F() 882 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 928 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 951 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1008 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1031 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() 1051 TF_ASSERT_OK(s.ToGraphDef(&item.graph)); in TEST_F() [all …]
|
/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/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 …]
|