/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | test_tools.cc | 153 (*graph.add_node()) = MakeNodeConst("node1"); in TestGraphs() 154 (*graph.add_node()) = MakeNodeSub("node2", "node3:1", "node3:0"); in TestGraphs() 155 auto node3 = graph.add_node(); in TestGraphs() 162 (*graph.add_node()) = MakeNodeConst("const1_1"); in TestGraphs() 163 (*graph.add_node()) = MakeNodeConst("const1_2"); in TestGraphs() 164 (*graph.add_node()) = MakeNodeAddN("add1", "const1_1", "const1_2"); in TestGraphs() 166 (*graph.add_node()) = MakeNodeConst("const2_1"); in TestGraphs() 167 (*graph.add_node()) = MakeNodeConst("const2_2"); in TestGraphs() 168 (*graph.add_node()) = MakeNodeConst("const2_3"); in TestGraphs() 170 auto add2 = graph.add_node(); in TestGraphs() [all …]
|
D | subgraph_test.cc | 41 (*graph.add_node()) = MakeNodeConst("node1"); in TEST() 42 (*graph.add_node()) = MakeNodeConst("node2"); in TEST() 84 (*graph.add_node()) = MakeNodeConst("node1"); in TEST() 85 (*graph.add_node()) = MakeNodeSub("node2", "node3:1", "node3:0"); in TEST() 86 auto node3 = graph.add_node(); in TEST() 149 (*graph.add_node()) = MakeNodeConst("node1"); in TEST() 150 (*graph.add_node()) = MakeNodeSub("node2", "node3", "node3"); in TEST() 151 (*graph.add_node()) = MakeNodeAddN("node3", "node1", "node2"); in TEST() 199 (*graph.add_node()) = MakeNodeConst("node1"); in TEST() 200 (*graph.add_node()) = MakeNodeSub("node2", "node3", "node3"); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | frame_test.cc | 59 *graph.add_node() = CreateNode("0", {}); in TEST_F() 60 *graph.add_node() = CreateNode("1", "Enter", "while/context1", {"0"}); in TEST_F() 61 *graph.add_node() = CreateNode("2", {"1"}); in TEST_F() 62 *graph.add_node() = CreateNode("3", "Merge", {"2", "14"}); in TEST_F() 63 *graph.add_node() = CreateNode("4", {"3"}); in TEST_F() 64 *graph.add_node() = CreateNode("5", "Switch", {"4"}); in TEST_F() 65 *graph.add_node() = CreateNode("6", {"5"}); in TEST_F() 66 *graph.add_node() = CreateNode("7", "Enter", "while/context2", {"6"}); in TEST_F() 67 *graph.add_node() = CreateNode("8", {"7"}); in TEST_F() 68 *graph.add_node() = CreateNode("9", "Merge", {"8", "12"}); in TEST_F() [all …]
|
D | scc_test.cc | 74 *graph.add_node() = CreateNode("a", {"d"}); in TEST_F() 75 *graph.add_node() = CreateNode("b", {"a"}); in TEST_F() 76 *graph.add_node() = CreateNode("c", {"b"}); in TEST_F() 77 *graph.add_node() = CreateNode("d", {"c"}); in TEST_F() 80 *graph.add_node() = CreateNode("e", {}); in TEST_F() 81 *graph.add_node() = CreateNode("f", {"e"}); in TEST_F() 82 *graph.add_node() = CreateNode("g", {"f"}); in TEST_F() 83 *graph.add_node() = CreateNode("h", {"g"}); in TEST_F() 139 *graph.add_node() = CreateNode("a", {"c"}); in TEST_F() 140 *graph.add_node() = CreateNode("b", {"a", "d"}); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | strip_unused_nodes_test.cc | 41 NodeDef* add_node = graph_def.add_node(); in TestSimpleAdd() local 42 add_node->set_name("add_node"); in TestSimpleAdd() 43 add_node->set_op("Add"); in TestSimpleAdd() 44 add_node->add_input("a_node"); in TestSimpleAdd() 45 add_node->add_input("b_node"); in TestSimpleAdd() 47 NodeDef* a_node = graph_def.add_node(); in TestSimpleAdd() 51 NodeDef* b_node = graph_def.add_node(); in TestSimpleAdd() 55 NodeDef* c_node = graph_def.add_node(); in TestSimpleAdd() 73 NodeDef* add_node1 = graph_def.add_node(); in TestCommonAncestor() 79 NodeDef* add_node2 = graph_def.add_node(); in TestCommonAncestor() [all …]
|
D | remove_nodes_test.cc | 41 NodeDef* add_node1 = graph_def.add_node(); in TestRemoveNodes() 47 NodeDef* add_node2 = graph_def.add_node(); in TestRemoveNodes() 53 NodeDef* add_node3 = graph_def.add_node(); in TestRemoveNodes() 59 NodeDef* identity_node1 = graph_def.add_node(); in TestRemoveNodes() 64 NodeDef* identity_node2 = graph_def.add_node(); in TestRemoveNodes() 69 NodeDef* identity_node3 = graph_def.add_node(); in TestRemoveNodes() 74 NodeDef* const_node1 = graph_def.add_node(); in TestRemoveNodes() 78 NodeDef* const_node2 = graph_def.add_node(); in TestRemoveNodes() 82 NodeDef* const_node3 = graph_def.add_node(); in TestRemoveNodes() 86 NodeDef* add_node4 = graph_def.add_node(); in TestRemoveNodes() [all …]
|
D | sort_by_execution_order_test.cc | 42 NodeDef* add_node = graph_def.add_node(); in TestSimpleAdd() local 43 add_node->set_name("add_node"); in TestSimpleAdd() 44 add_node->set_op("Add"); in TestSimpleAdd() 45 add_node->add_input("a_node"); in TestSimpleAdd() 46 add_node->add_input("b_node"); in TestSimpleAdd() 48 NodeDef* b_node = graph_def.add_node(); in TestSimpleAdd() 52 NodeDef* a_node = graph_def.add_node(); in TestSimpleAdd() 69 NodeDef* negative_node = graph_def.add_node(); in TestSimpleLinear() 74 NodeDef* relu_node = graph_def.add_node(); in TestSimpleLinear() 79 NodeDef* sqrt_node = graph_def.add_node(); in TestSimpleLinear() [all …]
|
D | backports_test.cc | 45 NodeDef* mul_node1 = graph_def.add_node(); in TestBackportConcatV2() 51 NodeDef* add_node2 = graph_def.add_node(); in TestBackportConcatV2() 57 NodeDef* add_node3 = graph_def.add_node(); in TestBackportConcatV2() 63 NodeDef* const_node1 = graph_def.add_node(); in TestBackportConcatV2() 67 NodeDef* const_node2 = graph_def.add_node(); in TestBackportConcatV2() 71 NodeDef* const_node3 = graph_def.add_node(); in TestBackportConcatV2() 75 NodeDef* concat_node = graph_def.add_node(); in TestBackportConcatV2() 111 NodeDef* size_node = graph_def.add_node(); in TEST() 118 NodeDef* tensor_array_node = graph_def.add_node(); in TEST() 128 NodeDef* handle_output_node = graph_def.add_node(); in TEST() [all …]
|
D | obfuscate_names_test.cc | 41 NodeDef* add_node1 = graph_def.add_node(); in TestSimpleTree() 47 NodeDef* add_node2 = graph_def.add_node(); in TestSimpleTree() 53 NodeDef* add_node3 = graph_def.add_node(); in TestSimpleTree() 59 NodeDef* const_node1 = graph_def.add_node(); in TestSimpleTree() 63 NodeDef* const_node2 = graph_def.add_node(); in TestSimpleTree() 67 NodeDef* const_node3 = graph_def.add_node(); in TestSimpleTree() 71 NodeDef* const_node4 = graph_def.add_node(); in TestSimpleTree() 94 NodeDef* const_node = graph_def.add_node(); in TestManyNodes() 113 NodeDef* const_node = graph_def.add_node(); in TestNameClashes()
|
D | remove_device_test.cc | 41 NodeDef* mul_node1 = graph_def.add_node(); in TestRemoveDevice() 48 NodeDef* add_node2 = graph_def.add_node(); in TestRemoveDevice() 55 NodeDef* add_node3 = graph_def.add_node(); in TestRemoveDevice() 61 NodeDef* const_node1 = graph_def.add_node(); in TestRemoveDevice() 65 NodeDef* const_node2 = graph_def.add_node(); in TestRemoveDevice() 69 NodeDef* const_node3 = graph_def.add_node(); in TestRemoveDevice() 73 NodeDef* add_node4 = graph_def.add_node(); in TestRemoveDevice()
|
D | rename_op_test.cc | 41 NodeDef* mul_node1 = graph_def.add_node(); in TestRenameOp() 47 NodeDef* add_node2 = graph_def.add_node(); in TestRenameOp() 53 NodeDef* add_node3 = graph_def.add_node(); in TestRenameOp() 59 NodeDef* const_node1 = graph_def.add_node(); in TestRenameOp() 63 NodeDef* const_node2 = graph_def.add_node(); in TestRenameOp() 67 NodeDef* const_node3 = graph_def.add_node(); in TestRenameOp() 71 NodeDef* add_node4 = graph_def.add_node(); in TestRenameOp()
|
D | set_device_test.cc | 40 NodeDef* mul_node1 = graph_def.add_node(); in CreateDeviceGraph() 47 NodeDef* add_node2 = graph_def.add_node(); in CreateDeviceGraph() 54 NodeDef* add_node3 = graph_def.add_node(); in CreateDeviceGraph() 60 NodeDef* const_node1 = graph_def.add_node(); in CreateDeviceGraph() 64 NodeDef* const_node2 = graph_def.add_node(); in CreateDeviceGraph() 68 NodeDef* const_node3 = graph_def.add_node(); in CreateDeviceGraph() 72 NodeDef* add_node4 = graph_def.add_node(); in CreateDeviceGraph()
|
D | remove_attribute_test.cc | 41 NodeDef* mul_node1 = graph_def.add_node(); in TestRemoveAttribute() 49 NodeDef* add_node2 = graph_def.add_node(); in TestRemoveAttribute() 58 NodeDef* add_node3 = graph_def.add_node(); in TestRemoveAttribute() 64 NodeDef* const_node1 = graph_def.add_node(); in TestRemoveAttribute() 68 NodeDef* const_node2 = graph_def.add_node(); in TestRemoveAttribute() 72 NodeDef* const_node3 = graph_def.add_node(); in TestRemoveAttribute() 76 NodeDef* add_node4 = graph_def.add_node(); in TestRemoveAttribute()
|
D | rename_attribute_test.cc | 41 NodeDef* mul_node1 = graph_def.add_node(); in TestRenameAttribute() 49 NodeDef* add_node2 = graph_def.add_node(); in TestRenameAttribute() 58 NodeDef* add_node3 = graph_def.add_node(); in TestRenameAttribute() 64 NodeDef* const_node1 = graph_def.add_node(); in TestRenameAttribute() 68 NodeDef* const_node2 = graph_def.add_node(); in TestRenameAttribute() 72 NodeDef* const_node3 = graph_def.add_node(); in TestRenameAttribute() 76 NodeDef* add_node4 = graph_def.add_node(); in TestRenameAttribute()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | export_tensorflow.cc | 159 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertFloatTensorConst() 201 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertFloatTensorConst() 224 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertBoolTensorConst() 248 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertIntTensorConst() 271 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in CreateIntTensorConst() 296 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in ConvertComplex64TensorConst() 319 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in CreateMatrixShapeTensorConst() 337 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in CreateDummyConcatDimTensorConst() 352 tensorflow::NodeDef* const_op = tensorflow_graph->add_node(); in CreateReshapeShapeTensorConst() 392 tensorflow::NodeDef* conv2d_op = tensorflow_graph->add_node(); in ConvertConvOperator() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | graph_optimizer_stage_test.cc | 164 NodeDef* add_node; in TEST_F() local 165 TF_CHECK_OK(stage.GetInputNode("Add", &add_node)); in TEST_F() 166 ASSERT_EQ(add_node->input_size(), 2); in TEST_F() 167 EXPECT_EQ(add_node->input(0), "a"); in TEST_F() 168 EXPECT_EQ(add_node->input(1), "b"); in TEST_F() 206 NodeDef* add_node; in TEST_F() local 207 TF_CHECK_OK(stage.GetInputNode("Add", &add_node)); in TEST_F() 210 NodeDef* add_node_copy = stage.AddCopyNode("Add_1", add_node); in TEST_F() 213 ASSERT_EQ(add_node->input_size(), 2); in TEST_F()
|
D | remapper.cc | 498 NodeDef* fused_conv2d = optimized_graph->add_node(); in AddFusedConv2DNode() 525 NodeDef* fused_conv2d = optimized_graph->add_node(); in AddFusedConv2DNode() 555 NodeDef* fused_conv2d = optimized_graph->add_node(); in AddFusedConv2DNode() 567 NodeDef* remapped_squeeze = optimized_graph->add_node(); in AddFusedConv2DNode() 584 NodeDef* fused_conv2d = optimized_graph->add_node(); in AddFusedConv2DNode() 611 NodeDef* fused_conv2d = optimized_graph->add_node(); in AddFusedConv2DNode() 645 NodeDef* new_shape = optimized_graph->add_node(); in AddBatchNormNodes() 659 NodeDef* reshaped_scale = optimized_graph->add_node(); in AddBatchNormNodes() 670 NodeDef* reshaped_offset = optimized_graph->add_node(); in AddBatchNormNodes() 681 NodeDef* reshaped_mean = optimized_graph->add_node(); in AddBatchNormNodes() [all …]
|
D | auto_parallel.cc | 35 NodeDef* node = graph_.add_node(); in AddNodeDivConst() 53 NodeDef* node = graph_.add_node(); in AddNodeDiv() 67 NodeDef* node = graph->add_node(); in AddNodeControl() 207 auto new_node = graph->add_node(); in AddSharedNodes() 221 auto new_node = graph->add_node(); in AddOneReplica()
|
/external/tensorflow/tensorflow/core/framework/ |
D | graph_def_util_test.cc | 48 .Finalize(graph_def.add_node())); in TEST() 69 .Finalize(graph_def.add_node())); in TEST() 96 .Finalize(produced_graph_def.add_node())); in TEST() 105 .Finalize(expected_graph_def.add_node())); in TEST() 131 .Finalize(produced_graph_def.add_node())); in TEST() 163 .Finalize(produced_graph_def.add_node())); in TEST() 203 .Finalize(produced_graph_def.add_node())); in TEST() 218 .Finalize(expected_graph_def.add_node())); in TEST() 251 graph_def.add_node()->set_op("F"); in TEST() 255 NodeDef* node = graph_def.add_node(); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/graph/ |
D | benchmark_testlib.h | 86 *graph_def.add_node() = std::move(node); in CreateGraphDef() 97 *graph_def.add_node() = std::move(node); in CreateGraphDef() 109 *graph_def.add_node() = std::move(node); in CreateGraphDef() 132 *graph.add_node() = std::move(node); in CreateRandomGraph() 152 *graph.add_node() = std::move(input_node); in CreateFaninFanoutNodeGraph() 159 *graph.add_node() = std::move(output_node); in CreateFaninFanoutNodeGraph() 162 *graph.add_node() = std::move(node); in CreateFaninFanoutNodeGraph()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | utils_test.cc | 78 NodeDef* input = graph.add_node(); in TEST() 81 NodeDef* filter = graph.add_node(); in TEST() 85 NodeDef* output_backprop = graph.add_node(); in TEST() 89 NodeDef* input_sizes = graph.add_node(); in TEST() 94 NodeDef* filter_sizes = graph.add_node(); in TEST() 109 .Finalize(graph.add_node())); in TEST() 112 NodeDef* conv = graph.add_node(); in TEST() 120 NodeDef* conv_bp_in = graph.add_node(); in TEST() 129 NodeDef* conv_bp_filter = graph.add_node(); in TEST() 159 .Finalize(graph.add_node())); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | single_machine_test.cc | 244 NodeDef* shp = item.graph.add_node(); in RunInfiniteTFLoop() 253 NodeDef* r = item.graph.add_node(); in RunInfiniteTFLoop() 260 NodeDef* e = item.graph.add_node(); in RunInfiniteTFLoop() 267 NodeDef* m = item.graph.add_node(); in RunInfiniteTFLoop() 275 NodeDef* t = item.graph.add_node(); in RunInfiniteTFLoop() 285 NodeDef* c = item.graph.add_node(); in RunInfiniteTFLoop() 290 NodeDef* s = item.graph.add_node(); in RunInfiniteTFLoop() 297 NodeDef* i = item.graph.add_node(); in RunInfiniteTFLoop() 303 NodeDef* n = item.graph.add_node(); in RunInfiniteTFLoop() 309 NodeDef* x = item.graph.add_node(); in RunInfiniteTFLoop() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Registry.h | 80 static void add_node(node *N); 124 add_node(&Node); in Add() 143 void Registry<T>::add_node(typename Registry<T>::node *N) { \ 156 void Registry<REGISTRY_CLASS::type>::add_node(REGISTRY_CLASS::node*); \
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_test.cc | 44 NodeDef* x = graph_def.add_node(); in SumGraph() 48 NodeDef* y = graph_def.add_node(); in SumGraph() 52 NodeDef* sum = graph_def.add_node(); in SumGraph()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 157 std::unique_ptr<SENode> add_node{new SEAddNode(this)}; in CreateAddNode() local 159 add_node->AddChild(operand_1); in CreateAddNode() 160 add_node->AddChild(operand_2); in CreateAddNode() 162 return GetCachedOrAdd(std::move(add_node)); in CreateAddNode() 424 std::unique_ptr<SENode> add_node{new SEAddNode(this)}; in UpdateChildNode() local 426 add_node->AddChild(child); in UpdateChildNode() 429 return SimplifyExpression(GetCachedOrAdd(std::move(add_node))); in UpdateChildNode() 458 std::unique_ptr<SENode> add_node{new SEAddNode(this)}; in BuildGraphWithoutRecurrentTerm() local 460 add_node->AddChild(child); in BuildGraphWithoutRecurrentTerm() 463 return SimplifyExpression(GetCachedOrAdd(std::move(add_node))); in BuildGraphWithoutRecurrentTerm()
|