/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | broadcast_simple_test.cc | 293 ConstantLiteral(&b, LiteralUtil::CreateR3<float>( in XLA_TEST_F() 400 auto r1 = ConstantLiteral(&b, LiteralUtil::CreateR3<float>({{{1, 2}}})); in XLA_TEST_F() 401 auto r3 = ConstantLiteral( in XLA_TEST_F() 413 auto r1 = ConstantLiteral(&b, LiteralUtil::CreateR3<float>({{{1}, {2}}})); in XLA_TEST_F() 414 auto r3 = ConstantLiteral( in XLA_TEST_F() 427 ConstantLiteral(&b, LiteralUtil::CreateR3<float>({{{1, 2}, {3, 4}}})); in XLA_TEST_F() 428 auto r3 = ConstantLiteral( in XLA_TEST_F() 441 ConstantLiteral(&b, LiteralUtil::CreateR3<float>({{{1, 2}}, {{3, 4}}})); in XLA_TEST_F() 442 auto r3 = ConstantLiteral( in XLA_TEST_F() 454 auto r1 = ConstantLiteral( in XLA_TEST_F() [all …]
|
D | call_test.cc | 80 auto constant = ConstantLiteral(&builder, LiteralUtil::CreateR0<float>(42.0)); in XLA_TEST_F() 89 auto x = ConstantLiteral(&builder, LiteralUtil::CreateR1<float>({})); in XLA_TEST_F() 90 auto y = ConstantLiteral(&builder, LiteralUtil::CreateR1<float>({})); in XLA_TEST_F() 100 ConstantLiteral(&builder, LiteralUtil::CreateR1<float>({1.0f, 2.0f})); in XLA_TEST_F() 102 ConstantLiteral(&builder, LiteralUtil::CreateR1<float>({2.0f, 3.0f})); in XLA_TEST_F() 144 Call(&builder, callee, {ConstantLiteral(&builder, elem)}); in XLA_TEST_F()
|
D | constants_test.cc | 116 ConstantLiteral(&builder, LiteralUtil::CreateR3FromArray3D<float>( in TEST_F() 132 ConstantLiteral(&builder, LiteralUtil::CreateR3FromArray3D<float>(array3d)); in TEST_F() 150 ConstantLiteral(&builder, input_literal); in TEST_F() 164 ConstantLiteral(&builder, LiteralUtil::MakeTupleFromSlices( in TEST_F() 178 ConstantLiteral(&builder, LiteralUtil::CreateToken()); in TEST_F()
|
D | dynamic_ops_test.cc | 141 auto input = ConstantLiteral(&builder, input_values); in RunR1() 171 auto input = ConstantLiteral(&builder, input_values); in RunR2() 205 auto input = ConstantLiteral(&builder, input_values); in RunR3() 393 auto input = ConstantLiteral(&builder, input_value); in RunR0() 394 auto update = ConstantLiteral(&builder, update_value); in RunR0() 424 auto input = ConstantLiteral(&builder, input_values); in RunR1() 425 auto update = ConstantLiteral(&builder, update_values); in RunR1() 458 auto input = ConstantLiteral(&builder, input_values); in RunR2() 459 auto update = ConstantLiteral(&builder, update_values); in RunR2() 498 auto input = ConstantLiteral(&builder, input_values); in RunR3() [all …]
|
D | reduce_test.cc | 591 Reduce(ConstantLiteral(&builder, input_literal), in XLA_TEST_F() 606 Reduce(ConstantLiteral(&builder, input_literal), in XLA_TEST_F() 623 Reduce(ConstantLiteral(&builder, input_literal), initial_value, min, {0, 1}); in XLA_TEST_F() 635 Reduce(ConstantLiteral(&builder, input_literal), initial_value, max, {0, 1}); in XLA_TEST_F() 642 auto m = ConstantLiteral(&builder, literal_2d_); in XLA_TEST_F() 653 auto m = ConstantLiteral(&builder, literal_2d_); in XLA_TEST_F() 663 auto m = ConstantLiteral(&builder, literal_2d_); in XLA_TEST_F() 673 auto m = ConstantLiteral(&builder, literal_3d_); in XLA_TEST_F() 683 auto m = ConstantLiteral(&builder, literal_3d_); in XLA_TEST_F() 693 auto m = ConstantLiteral(&builder, literal_3d_); in XLA_TEST_F() [all …]
|
D | batch_normalization_test.cc | 105 auto x = ConstantLiteral(&builder, input_literal_); in XLA_TEST_P() 121 auto x = ConstantLiteral(&builder, input_literal_); in XLA_TEST_P() 138 auto input_activations = ConstantLiteral(&builder, input_literal_); in XLA_TEST_P() 149 auto input_activations = ConstantLiteral(&builder, input_literal_); in XLA_TEST_P() 175 CheckShape(&builder, ConstantLiteral(&builder, input_literal_), in XLA_TEST_P()
|
D | multiple_devices_on_host_test.cc | 32 ConstantLiteral(&b, LiteralUtil::CreateR0<int32>(1)), in BuildComputation()
|
D | tuple_test.cc | 59 ConstantLiteral(&builder, value); in XLA_TEST_F() 73 ConstantLiteral(&builder, value); in XLA_TEST_F()
|
D | convolution_variants_test.cc | 1339 auto gradients = ConstantLiteral(&builder, gradients_literal); in XLA_TEST_F() 1344 auto weights = ConstantLiteral(&builder, weights_literal); in XLA_TEST_F() 1363 auto activations = ConstantLiteral(&builder, activations_literal); in XLA_TEST_F() 1368 auto gradients = ConstantLiteral(&builder, gradients_literal); in XLA_TEST_F()
|
D | client_library_test_base.cc | 603 return ConstantLiteral(builder, use_bfloat16_ in CreateConstantFromLiteral()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | constants.cc | 24 return ConstantLiteral(builder, LiteralUtil::Zero(type)); in Zero() 41 return ConstantLiteral(builder, LiteralUtil::One(type)); in One() 64 return ConstantLiteral(builder, LiteralUtil::MinValue(type)); in MinValue() 102 return ConstantLiteral(builder, LiteralUtil::MaxValue(type)); in MaxValue()
|
D | loops.cc | 101 ConstantLiteral(body_builder, LiteralUtil::One(num_iterations_type)))); in ForEachIndex() 114 ConstantLiteral(builder, LiteralUtil::Zero(num_iterations_type))); in ForEachIndex()
|
D | testing.cc | 52 ConstantLiteral(builder, LiteralUtil::One(shape.element_type())), in BuildFakeDataOpOnDevice()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | index_ops_cpu.cc | 94 args.push_back(xla::ConstantLiteral( in Compile() 99 args.push_back(xla::ConstantLiteral( in Compile() 102 xla::ConstantLiteral(&b, xla::LiteralUtil::CreateR0<int32>(axis))); in Compile()
|
D | tensor_list_utils.cc | 92 xla::ConstantLiteral(builder, xla::LiteralUtil::Zero( in InitializeTensorList()
|
D | dynamic_stitch_op.cc | 126 ctx->SetOutput(0, xla::ConstantLiteral(ctx->builder(), empty_literal)); in Compile()
|
D | resampler_ops.cc | 301 auto grad_data = xla::ConstantLiteral( in CalculateGradData()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_helpers.cc | 40 return xla::ConstantLiteral(b, xla::LiteralUtil::Zero(type)); in Zero() 46 return xla::ConstantLiteral(b, xla::LiteralUtil::One(type)); in One()
|
D | xla_expression.cc | 87 return xla::ConstantLiteral(builder, literal); in AsXlaOp()
|
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
D | util.cc | 34 xla::ConstantLiteral(builder, in Zeros() 119 return xla::ConstantLiteral(builder, literal); in IntegerLiteral()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 327 XlaOp ConstantLiteral(const LiteralSlice& literal); 712 friend XlaOp ConstantLiteral(XlaBuilder* builder, 1050 XlaOp ConstantLiteral(XlaBuilder* builder, const LiteralSlice& literal); 1926 return ConstantLiteral(builder, LiteralUtil::CreateR0<NativeT>(value)); in ConstantR0() 1931 return ConstantLiteral(builder, LiteralUtil::CreateR1<NativeT>(values)); in ConstantR1() 1939 return ConstantLiteral(builder, literal); in ConstantR1() 1944 return ConstantLiteral(builder, LiteralUtil::CreateR1(values)); in ConstantR1() 1950 return ConstantLiteral(builder, LiteralUtil::CreateR2<NativeT>(values)); in ConstantR2() 1957 return ConstantLiteral( in ConstantFromArrayWithLayout() 1963 return ConstantLiteral(builder, in ConstantFromArray() [all …]
|
D | xla_builder.cc | 589 XlaOp XlaBuilder::ConstantLiteral(const LiteralSlice& literal) { in ConstantLiteral() function in xla::XlaBuilder 1620 ConstantLiteral(value.builder(), LiteralUtil::Zero(signed_type))); in BitcastConvertFloatingPointToIntegral() 2835 XlaOp ConstantLiteral(XlaBuilder* builder, const LiteralSlice& literal) { in ConstantLiteral() function 2836 return builder->ConstantLiteral(literal); in ConstantLiteral()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | local_computation_builder.cc | 457 LocalOp ComputationBuilder::ConstantLiteral(const Literal& literal) { in ConstantLiteral() function in xla::swig::ComputationBuilder 458 return xla::ConstantLiteral(&builder_, literal); in ConstantLiteral()
|
D | local_computation_builder.h | 234 LocalOp ConstantLiteral(const Literal& literal);
|
D | local_computation_builder.i | 296 %unignore xla::swig::ComputationBuilder::ConstantLiteral;
|