Searched refs:add2 (Results 1 - 23 of 23) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Ddebug-info-template-member.cpp11 int add2(int x) { function
/external/tensorflow/tensorflow/contrib/tensorrt/segment/
H A Dsegment_test.cc131 // | add2
145 TF_Operation* add2 = Add(add0, add1, graph, s, "add2"); local
147 TF_Operation* add3 = Add(add0, add2, graph, s, "add3");
150 TF_Operation* add4 = Add(add2, add2, graph, s, "add4");
160 MakeCandidateFn({"add0", "add1", "add2", "add3", "add4"}),
166 std::vector<string> expected{"add0", "add1", "add2", "add3", "add4"};
179 // add2 is not a TRT candidate so add0/add3 cannot be formed as a
186 // | add2
200 TF_Operation* add2 = Add(add0, add1, graph, s, "add2"); local
250 TF_Operation* add2 = Add(add0, add1, graph, s, "add2"); local
322 TF_Operation* add2 = Add(add1, add1, graph, s, "add2"); local
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dhlo_schedule_test.cc127 HloInstruction* add2 = builder.AddInstruction( local
130 HloInstruction::CreateBinary(f32_2x2_, HloOpcode::kAdd, add1, add2));
137 streams->StreamNumberForHlo(*add2));
144 HloVec({add1, add2, add3}));
146 // Parameters x,y,z are mutually unordered, while add1, add2 and add3 are
150 EXPECT_TRUE(order->ExecutesBefore(x, add2));
153 EXPECT_TRUE(order->ExecutesBefore(y, add2));
155 EXPECT_TRUE(order->ExecutesBefore(z, add2));
158 EXPECT_TRUE(order->ExecutesBefore(add2, add3));
159 // The HLO graph does not define an ordering for add1 and add2, bu
[all...]
H A Dfusion_merger_test.cc76 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
79 data_shape_, HloOpcode::kMultiply, add2, one_vec));
215 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
218 data_shape_, HloOpcode::kMultiply, add2, one_vec));
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dmultioutput_fusion_test.cc77 HloInstruction* add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
85 HloInstruction::CreateDot(elem_shape2, sub, add2, dot_dnums));
90 ArraySlice<HloInstruction*>({sub, add2}, 0, 2)));
100 {tuple, sub, add2, broadcast}, HloInstruction::FusionKind::kLoop),
H A Dfusion_test.cc195 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
198 ShapeUtil::MakeShape(F32, {1, 3}), add2, {1, 0}));
224 const4, reshape3, add2, const1, const0},
303 // add2 = broadcast(const_vector) + const_array
306 auto add2 = builder.AddInstruction( local
310 ->CreateFusionInstruction(/*instructions_to_fuse=*/{add2, broadcast},
685 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
688 ShapeUtil::MakeShape(S32, {1}), HloOpcode::kAdd, const1, add2));
693 {add4, add3, add2, add1, const1},
H A Dconcat_test.cc514 // add1 add2 add3
529 auto add2 = builder.Add(mul, builder.ConstantR1<float>({3.f, 4.f})); local
531 builder.ConcatInDim({add1, add2, add3}, /*dimension=*/0);
H A Dwhile_test.cc1089 auto add2 = Literal::CreateR0<int32>(16); local
1090 auto expected = Literal::MakeTuple({add1.get(), add2.get()});
H A Darray_elementwise_ops_test.cc2174 auto add2 = builder.Add(add, c); local
2192 auto add2 = builder.Add(a, add); local
/external/tensorflow/tensorflow/compiler/xla/service/
H A Ddefuser_test.cc128 auto add2 = builder.AddInstruction( local
133 {add2, constant, div, mul, sub, negate, add},
166 auto add2 = builder.AddInstruction( local
170 computation->CreateFusionInstruction({add2, constant, div, mul},
H A Dhlo_cse_test.cc312 auto add2 = builder.AddInstruction( local
315 HloInstruction::CreateBinary(shape_r0, HloOpcode::kMultiply, add1, add2));
320 ->CreateFusionInstruction({mul, add1, add2},
343 // add2 = add(negate2, exp2)
344 // tuple = tuple(add1, add2)
362 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
366 builder.AddInstruction(HloInstruction::CreateTuple({add1, add2}));
H A Dhlo_computation_test.cc191 auto add2 = builder.AddInstruction(HloInstruction::CreateBinary( local
200 add1, add2, add3));
H A Dbuffer_assignment_test.cc1771 auto add2 = builder.AddInstruction(
1773 module->AddEntryComputation(builder.Build(add2));
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_ListTest.java188 Integer add2 = new Integer(601);
196 li.add(add2);
199 previous == add2);
/external/tensorflow/tensorflow/c/
H A Dc_api_function_test.cc598 * add2
607 TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); local
608 Define(-1, {}, {feed1, feed2, feed3}, {add2}, {});
617 M({{"add2"}}),
622 {"add2_0:sum:0", "add2"}},
702 TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); local
703 Define(-1, {}, {feed1, feed2, feed3}, {add1, add2}, {});
712 M({{"add1"}, {"add2"}}),
742 TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); local
929 TF_Operation* add2 = Add(add1, one, params->body_graph, s_, "add2"); local
1087 TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); local
1390 TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2"); local
[all...]
H A Dwhile_loop_test.cc169 TF_Operation* add2 = Add(add1, one, params_->body_graph, s_, "add2"); local
171 params_->body_outputs[0] = {add2, 0};
262 inner_params.body_graph, s_, "add2");
/external/tensorflow/tensorflow/core/common_runtime/
H A Dconstant_folding_test.cc134 auto add2 = ops::Add(s.WithOpName("add2"), a, b);
138 ops::_Send(s.WithOpName("s2"), add2, "add2", "sender", 0, "receiver");
141 auto add2 = ops::Add(s.WithOpName("add2"), a, b);
146 ops::_Send(s.WithOpName("s2"), add2, "add2", "sender", 0, "receiver");
447 auto add2 = ops::Add(s, shape_n[1], shape_n[1]); local
452 auto send2 = ops::_Send(s.WithOpName("send2"), add2, "send
[all...]
/external/tensorflow/tensorflow/compiler/jit/
H A Dencapsulate_subgraphs_pass_test.cc605 auto add2 = ops::Add(root.WithOpName("add2"), add1, add1); local
606 add2.node()->AddAttr("_cluster", "cluster2");
607 auto out = ops::Mul(root.WithOpName("mul"), add1, add2);
637 auto add2 = ops::Add(root.WithOpName("add2"), add1, x2); local
638 add2.node()->AddAttr("_cluster", "cluster1");
639 auto out = ops::Mul(root.WithOpName("mul"), x1, add2);
652 "add1", "add2", "cluster1", "cluster1_parallel_check/_0",
657 {"add1:0", "add2
739 auto add2 = ops::Add(root.WithOpName("add2"), const_guarantee_x1, x2); local
[all...]
/external/tensorflow/tensorflow/core/distributed_runtime/
H A Dexecutor_test.cc329 auto add2 = test::graph::Add(g.get(), add0, add1); local
330 test::graph::Send(g.get(), add2, "e", BOB, 1, ALICE);
/external/libvpx/libvpx/vpx_dsp/mips/
H A Ddeblock_msa.c661 v4i32 add0, add1, add2, add3; local
706 ILVRL_H2_SW(zero, add_l, add2, add3);
709 mul2 += add2 * sub2;
/external/tensorflow/tensorflow/tools/graph_transforms/
H A Dtransform_utils_test.cc679 Output add2 = Add(root.WithOpName("add2"), a_const, a_const); local
685 Output mul2 = Mul(root.WithOpName("output"), mul, add2);
691 TF_ASSERT_OK(RenameNodeInputs(graph_def, {{"a", "b"}}, {"add2"},
698 EXPECT_EQ("a", node_map.at("add2")->input(0));
699 EXPECT_EQ("a", node_map.at("add2")->input(1));
/external/tensorflow/tensorflow/core/grappler/optimizers/
H A Dconstant_folding_test.cc185 Output add2 = ops::Add(s.WithOpName("add2"), zeros, y); local
193 matmul2, add1, add2, bias_add1, bias_add2, sub1, sub2});
271 } else if (name == "add2") {
/external/tensorflow/tensorflow/python/kernel_tests/
H A Dcontrol_flow_ops_py_test.py2970 add2 = math_ops.add(
2973 t1, _, t2 = control_flow_ops.tuple([add1, None, add2])

Completed in 2618 milliseconds