Home
last modified time | relevance | path

Searched refs:CustomCall (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_pad_for_convolutions_test.cc50 EXPECT_THAT(root, op::CustomCall(kCudnnConvForwardCallTarget, in TEST_F()
73 EXPECT_THAT(root, op::CustomCall(kCudnnConvBackwardInputCallTarget, in TEST_F()
96 EXPECT_THAT(root, op::Tuple(op::Slice(op::GetTupleElement(op::CustomCall( in TEST_F()
118 op::Slice(op::GetTupleElement(op::CustomCall( in TEST_F()
140 op::Slice(op::GetTupleElement(op::CustomCall( in TEST_F()
162 op::Slice(op::GetTupleElement(op::CustomCall( in TEST_F()
184 EXPECT_THAT(root, op::CustomCall(kCudnnConvForwardCallTarget, in TEST_F()
209 EXPECT_THAT(root, op::CustomCall(kCudnnConvForwardCallTarget, in TEST_F()
233 EXPECT_THAT(root, op::Tuple(op::Slice(op::GetTupleElement(op::CustomCall( in TEST_F()
Dcustom_call_test.cc41 CustomCall(&b, "Callback_IsInvoked", /*operands=*/{}, in TEST_F()
51 CustomCall(&b, "UnknownTarget", /*operands=*/{}, in TEST_F()
68 CustomCall(&b, "Callback_Memcpy", in TEST_F()
85 CustomCall(&b, "Callback_Opaque", /*operands=*/{}, in TEST_F()
118 CustomCall(&b, "Callback_SubBuffers", /*operands=*/ in TEST_F()
175 auto cc = CustomCall(&b, "Callback_TupleSelect", in TEST_F()
Dgpu_conv_rewriter_test.cc129 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
183 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
245 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
275 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
305 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
334 op::CustomCall(kCudnnConvBackwardFilterCallTarget), 0)); in TEST_F()
388 op::CustomCall(kCudnnConvBackwardInputCallTarget), 0)); in TEST_F()
435 op::CustomCall(kCudnnConvBackwardInputCallTarget), 0)); in TEST_F()
469 op::GetTupleElement(op::CustomCall(kCudnnConvForwardCallTarget), 0)); in TEST_F()
523 op::CustomCall(kCudnnConvBackwardInputCallTarget), 0)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_matchers_test.cc99 EXPECT_THAT(call.get(), op::CustomCall()); in TEST_F()
100 EXPECT_THAT(call.get(), op::CustomCall(c1.get(), c2.get())); in TEST_F()
101 EXPECT_THAT(call.get(), op::CustomCall("foo_target")); in TEST_F()
102 EXPECT_THAT(call.get(), op::CustomCall("foo_target", c1.get(), c2.get())); in TEST_F()
103 EXPECT_THAT(call.get(), op::CustomCall(::testing::StartsWith("foo"))); in TEST_F()
105 op::CustomCall(::testing::Not(::testing::StartsWith("bar")))); in TEST_F()
108 EXPECT_THAT(call.get(), ::testing::Not(op::CustomCall(c1.get()))); in TEST_F()
112 ::testing::Not(op::CustomCall(::testing::StartsWith("bar")))); in TEST_F()
114 EXPECT_THAT(Explain(call.get(), op::CustomCall("bar")), in TEST_F()
118 EXPECT_THAT(DescribeHloMatcher(op::CustomCall("foo_target")), in TEST_F()
Dhlo_matchers.h355 inline ::testing::Matcher<const ::xla::HloInstruction*> CustomCall( in CustomCall() function
367 inline ::testing::Matcher<const ::xla::HloInstruction*> CustomCall( in CustomCall() function
372 inline ::testing::Matcher<const ::xla::HloInstruction*> CustomCall() { in CustomCall() function
Dlayout_assignment_test.cc1153 ASSERT_THAT(root, GmockMatch(m::CustomCall(m::Parameter()))); in TEST_F()
1169 ASSERT_THAT(root, GmockMatch(m::CustomCall(m::Parameter()))); in TEST_F()
1200 GmockMatch(m::Copy(m::CustomCall(m::Copy(), m::Parameter())))); in TEST_F()
1226 GmockMatch(m::Copy(m::CustomCall()))); in TEST_F()
1260 GmockMatch(m::Copy(m::CustomCall(m::Tuple())))); in TEST_F()
Dhlo_parser_test.cc396 ENTRY %CustomCall () -> f32[1,2,3] {
1351 "CustomCall",
1354 ENTRY CustomCall {
Dpattern_matcher.h2289 XLA_VARIADIC_OP_PATTERN(CustomCall);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsharding_op.cc37 0, xla::CustomCall(ctx->builder(), /*call_target_name=*/"Sharding", in Compile()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_aot_test_helper.cc56 auto sum = CustomCall(&builder, "SumStructElements", {opaque_param}, r0f32); in main()
Dcustom_call_test.cc216 CustomCall(&builder, "$illegal", /*operands=*/{}, in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dcustom_call.md37 xla::CustomCall(&b, "do_custom_call", /*operands=*/{param0, param1},
111 xla::CustomCall(&b, "do_custom_call", /*operands=*/{param0, param1},
142 xla::CustomCall(&b, "do_custom_call", /*operands=*/{p0}, out_shape);
Doperation_semantics.md852 ## CustomCall section in Operation Semantics
855 [`XlaBuilder::CustomCall`](https://www.tensorflow.org/code/tensorflow/compiler/xla/client/xla_build…
859 <b> `CustomCall(target_name, args..., shape)` </b>
877 For example, if CustomCall is used as follows:
883 CustomCall("myfunc", {x, y}, f32[3x3])
911 > native XLA ops whenever possible; only use CustomCall as a last resort.
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py1195 def CustomCall(self, member in ComputationBuilder
1216 return ops.CustomCall(self._builder, call_target_name,
Dxla_client_test.py342 c.CustomCall(
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h481 XlaOp CustomCall(
863 friend XlaOp CustomCall(XlaBuilder* builder, const string& call_target_name,
1519 XlaOp CustomCall(XlaBuilder* builder, const string& call_target_name,
Dxla_builder.cc1549 XlaOp XlaBuilder::CustomCall( in CustomCall() function in xla::XlaBuilder
3146 XlaOp CustomCall(XlaBuilder* builder, const string& call_target_name, in CustomCall() function
3149 return builder->CustomCall(call_target_name, operands, shape, opaque, in CustomCall()
3157 return builder->CustomCall(call_target_name, operands, shape, opaque, in CustomCallWithLayout()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc553 value_map[op] = xla::CustomCall( in ExportXlaOp()
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dhlo_ops_base.td888 string summary = "CustomCall operator";