Home
last modified time | relevance | path

Searched refs:WithName (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dequal_graph_def_test.cc79 Input(e_.opts().WithName("A")); in TEST_F()
80 Input(a_.opts().WithName("A")); in TEST_F()
85 Input(e_.opts().WithName("A")); in TEST_F()
86 Input(a_.opts().WithName("B")); in TEST_F()
92 Input(e_.opts().WithName("A")); in TEST_F()
93 Input(e_.opts().WithName("B")); in TEST_F()
94 Input(a_.opts().WithName("A")); in TEST_F()
100 Input(e_.opts().WithName("A")); in TEST_F()
101 Input(a_.opts().WithName("A")); in TEST_F()
102 Input(a_.opts().WithName("B")); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass_test.cc418 NodeBuilder node_builder(opts.WithName(name).GetNameForOp("_XlaRecvAtHost"), in RecvAtHost()
437 NodeBuilder node_builder(opts.WithName(name).GetNameForOp("_XlaSendFromHost"), in SendFromHost()
569 Node* a = Input(builder.opts().WithName("A")); in TEST()
570 Node* b = Input(builder.opts().WithName("B")); in TEST()
571 Node* c = Unary(a, builder.opts().WithName("C")); in TEST()
572 Binary(b, c, builder.opts().WithName("D")); in TEST()
597 Node* a = Input(b1.opts().WithName("A")); in TEST()
598 Node* b = Input(b1.opts().WithName("B")); in TEST()
600 Node* c = Unary(a, b1.opts().WithName("C").WithAttr("_encapsulate", "F1")); in TEST()
602 b1.opts().WithName("c").WithControlInput(c).WithAttr( in TEST()
[all …]
Dxla_fusion_optimizer_test.cc52 ops::SourceOp("UncompilableNullary", builder.opts().WithName("A")); in TEST_F()
53 Node* b = ops::UnaryOp("Relu", a, builder.opts().WithName("B")); in TEST_F()
54 Node* c = ops::UnaryOp("Relu", b, builder.opts().WithName("C")); in TEST_F()
56 ops::UnaryOp("UncompilableUnary", c, builder.opts().WithName("D")); in TEST_F()
57 Node* e = ops::UnaryOp("Relu", d, builder.opts().WithName("E")); in TEST_F()
58 ops::UnaryOp("Relu", e, builder.opts().WithName("F")); in TEST_F()
82 builder.opts().WithName("A").WithAttr("dtype", tensorflow::DT_FLOAT)); in TEST_F()
85 builder.opts().WithName("B").WithAttr("dtype", tensorflow::DT_FLOAT)); in TEST_F()
87 Node* c = ops::BinaryOp("Add", a, b, builder.opts().WithName("C")); in TEST_F()
88 ops::BinaryOp("MatMul", a, c, builder.opts().WithName("D")); in TEST_F()
[all …]
Dpartially_decluster_pass_test.cc132 ops::SourceOp("FakeNullary", builder.opts().WithName("Input")); in TEST()
135 builder.opts().WithName("ClusteredProducer")); in TEST()
137 builder.opts().WithName("UnclusteredConsumer")); in TEST()
140 builder.opts().WithName("ClusteredConsumer")); in TEST()
168 ops::SourceOp("FakeNullary", builder.opts().WithName("Input")); in TEST()
171 builder.opts().WithName("ClusteredProducer")); in TEST()
174 builder.opts().WithName("ConsumerInDifferentCluster")); in TEST()
177 builder.opts().WithName("ClusteredConsumer")); in TEST()
197 ops::SourceOp("FakeNullary", builder.opts().WithName("Input")); in TEST()
200 builder.opts().WithName("ClusteredProducer")); in TEST()
[all …]
Dmark_for_compilation_pass_test.cc94 ops::SourceOp("UncompilableNullary", builder.opts().WithName("A")); in TEST()
95 Node* b = ops::UnaryOp("Relu", a, builder.opts().WithName("B")); in TEST()
96 Node* c = ops::UnaryOp("Relu", b, builder.opts().WithName("C")); in TEST()
98 ops::UnaryOp("UncompilableUnary", c, builder.opts().WithName("D")); in TEST()
99 Node* e = ops::UnaryOp("Relu", d, builder.opts().WithName("E")); in TEST()
100 ops::UnaryOp("Relu", e, builder.opts().WithName("F")); in TEST()
120 .WithName("A") in TEST()
124 ops::UnaryOp("UncompilableUnary", a, builder.opts().WithName("B")); in TEST()
125 ops::BinaryOp("MatMul", a, b, builder.opts().WithName("C")); in TEST()
141 .WithName("A") in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dplacer_test.cc321 Node* input = ops::SourceOp("TestInput", b.opts().WithName("in")); in TEST_F()
322 ops::UnaryOp("TestRelu", ops::NodeOut(input, 0), b.opts().WithName("n1")); in TEST_F()
323 ops::UnaryOp("TestRelu", ops::NodeOut(input, 1), b.opts().WithName("n2")); in TEST_F()
340 Node* input = ops::SourceOp("TestInput", b.opts().WithName("in")); in TEST_F()
342 b.opts().WithName("n1")); in TEST_F()
344 b.opts().WithName("n2")); in TEST_F()
359 Node* input = ops::SourceOp("TestGPUOutput", b.opts().WithName("in")); in TEST_F()
361 b.opts().WithName("n1")); in TEST_F()
376 Node* input = ops::SourceOp("TestGPUOutput", b.opts().WithName("in")); in TEST_F()
379 b.opts().WithName("n1").WithAttr("_class", {"loc:@in"})); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dalgorithm_test.cc80 Node* w1 = SourceOp("TestParams", b.opts().WithName("W1")); in TEST()
81 Node* w2 = SourceOp("TestParams", b.opts().WithName("W2")); in TEST()
83 SourceOp("TestInput", b.opts().WithName("input").WithControlInput(w1)); in TEST()
84 Node* t1 = BinaryOp("TestMul", w1, {input, 1}, b.opts().WithName("t1")); in TEST()
86 b.opts().WithName("t2").WithControlInput(t1)); in TEST()
87 BinaryOp("TestMul", w2, {input, 1}, b.opts().WithName("t3")); in TEST()
132 Node* w1 = SourceOp("TestParams", b.opts().WithName("W1")); in TEST()
134 SourceOp("TestInput", b.opts().WithName("input").WithControlInput(w1)); in TEST()
135 BinaryOp("TestMul", w1, {input, 1}, b.opts().WithName("t2")); in TEST()
142 b.opts().WithName(strings::StrCat("internal", j))); in TEST()
[all …]
Dcollective_order_test.cc85 .WithName(name) in CollectiveReduceNode()
115 builder.opts().WithName("a").WithDevice(dev0)); in InitGraph()
117 builder.opts().WithName("b").WithDevice(dev1)); in InitGraph()
122 builder.opts().WithName("id0").WithDevice(dev0).WithAttr("T", DT_FLOAT)); in InitGraph()
125 builder.opts().WithName("id1").WithDevice(dev1).WithAttr("T", DT_FLOAT)); in InitGraph()
170 builder.opts().WithName("a").WithDevice(dev0)); in InitGraph2()
175 builder.opts().WithName("id").WithDevice(dev0).WithAttr("T", DT_FLOAT)); in InitGraph2()
206 builder.opts().WithName("w").WithDevice(dev0)); in InitGraphForPruning()
208 builder.opts().WithName("x").WithDevice(dev0)); in InitGraphForPruning()
210 builder.opts().WithName("y").WithDevice(dev0)); in InitGraphForPruning()
[all …]
Dsubgraph_test.cc360 last_node = ops::UnaryOp("Op", last_node, b.opts().WithName(name)); in BM_SubgraphHelper()
362 last_node = ops::SourceOp("In", b.opts().WithName(name)); in BM_SubgraphHelper()
Dgraph_def_builder.h79 Options WithName(StringPiece name) const;
Dgraph_def_builder.cc29 GraphDefBuilder::Options GraphDefBuilder::Options::WithName( in WithName() function in tensorflow::GraphDefBuilder::Options
Dgraph_partition.cc524 bopts.WithName(switch_name)); in AddControlLoop()
527 AddControlNext({switch_node, 1}, device_name, bopts.WithName(next_name)); in AddControlLoop()
679 AddControlConst(device_name, bopts.WithName(node_name)); in AddControlFlow()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dapp_unittest.cc53 app.WithName(kName); in TEST_F()
66 app.WithName(kName); in TEST_F()
Dapp.h38 void WithName(uint32_t name) { name_ = name; } in WithName() function
/external/libchrome/base/metrics/
Dstatistics_recorder_unittest.cc261 TEST_P(StatisticsRecorderTest, WithName) { in TEST_P() argument
268 EXPECT_THAT(StatisticsRecorder::WithName(histograms, ""), SizeIs(3)); in TEST_P()
269 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "Test"), SizeIs(3)); in TEST_P()
270 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "1"), SizeIs(1)); in TEST_P()
271 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "hello"), IsEmpty()); in TEST_P()
Dstatistics_recorder.cc141 Sort(WithName(GetHistograms(), query))) { in WriteHTMLGraph()
156 Sort(WithName(GetHistograms(), query))) { in WriteGraph()
356 StatisticsRecorder::Histograms StatisticsRecorder::WithName( in WithName() function in base::StatisticsRecorder
Dstatistics_recorder.h219 static Histograms WithName(Histograms histograms, const std::string& query);
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher_test.cc46 .WithName("two_plus_two") in TEST()
62 match::Op().WithName("bad_name"))); in TEST()
693 EXPECT_DESC_AND_EXPLANATION(iota, m::Op().WithName("foo"), in TEST()
789 m::AddAnyOrder(m::Op().WithName("b"), m::Op().WithName("bar")), in TEST()
837 m::AnyOf<HloInstruction>(m::Op().WithName("foo"), in TEST()
838 m::Op().WithName("bar")), in TEST()
Dpattern_matcher.h1831 auto WithName(absl::string_view name) const
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.h78 extern llvm::cl::list<std::string> WithName;
Dllvm-pdbutil.cpp171 cl::list<std::string> WithName( variable
978 if (!opts::pretty::WithName.empty()) { in dumpPretty()
983 for (StringRef Name : opts::pretty::WithName) { in dumpPretty()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet_unittest.cc126 app.WithName(name); in TEST()
145 app.WithName(name); in TEST()
Drtcp_receiver_unittest.cc416 app.WithName(name); in TEST_F()
433 app.WithName(name); in TEST_F()
Drtcp_sender.cc694 app->WithName(app_name_); in BuildAPP()