/external/tensorflow/tensorflow/compiler/xla/ |
D | reference_util_test.cc | 56 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 68 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 99 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 109 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 147 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 155 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result); in TEST_F() 425 auto actual_literal = LiteralUtil::CreateR2FromArray2D(*actual); in TEST_F()
|
D | literal_util.h | 169 static Literal CreateR2FromArray2D(const Array2D<NativeT>& values); 459 /* static */ Literal LiteralUtil::CreateR2FromArray2D( in CreateR2FromArray2D() function 548 return CreateR2FromArray2D(array); in MakeIdentityR2()
|
D | literal_util.cc | 289 return CreateR2FromArray2D(*value); in CreateR2F32Linspace()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reduce_test.cc | 179 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in RunR2ToR1PredTest() 212 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in RunR2ToR0Test() 239 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in RunR2ToR1Test() 296 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in RunVectorizedReduceTestForType() 450 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in XLA_TEST_F() 481 Literal input_literal = LiteralUtil::CreateR2FromArray2D(input_data); in XLA_TEST_F() 590 auto input_literal = LiteralUtil::CreateR2FromArray2D(input); in XLA_TEST_F() 605 auto input_literal = LiteralUtil::CreateR2FromArray2D(input); in XLA_TEST_F() 619 auto input_literal = LiteralUtil::CreateR2FromArray2D(input); in XLA_TEST_F() 631 auto input_literal = LiteralUtil::CreateR2FromArray2D(input); in XLA_TEST_F() [all …]
|
D | matrix_ops_simple_test.cc | 67 LiteralUtil::CreateR2FromArray2D<T>({{2.71828f, 1.00000f}, // row 0 in XLA_TYPED_TEST() 96 LiteralUtil::CreateR2FromArray2D<T>({{1.5f, 0.5f}, // row 0 in XLA_TYPED_TEST() 115 LiteralUtil::CreateR2FromArray2D<T>({{7.0f, 6.0f}, // row 0 in XLA_TYPED_TEST()
|
D | dot_operation_test.cc | 200 ->TransferToServer(LiteralUtil::CreateR2FromArray2D<T>( in XLA_TYPED_TEST() 204 ->TransferToServer(LiteralUtil::CreateR2FromArray2D<T>( in XLA_TYPED_TEST() 666 ->TransferToServer(LiteralUtil::CreateR2FromArray2D<T>( in XLA_TYPED_TEST() 694 ->TransferToServer(LiteralUtil::CreateR2FromArray2D<T>( in XLA_TYPED_TEST() 842 LiteralUtil::CreateR2FromArray2D<T>(*arg_0_value_array))); in XLA_TYPED_TEST() 846 LiteralUtil::CreateR2FromArray2D<T>(*arg_1_value_array))); in XLA_TYPED_TEST() 850 LiteralUtil::CreateR2FromArray2D<T>(*arg_2_value_array))); in XLA_TYPED_TEST() 891 LiteralUtil::CreateR2FromArray2D<T>(*arg_0_value_array))); in XLA_TYPED_TEST() 895 LiteralUtil::CreateR2FromArray2D<T>(*arg_1_value_array))); in XLA_TYPED_TEST() 899 LiteralUtil::CreateR2FromArray2D<T>(*arg_2_value_array))); in XLA_TYPED_TEST()
|
D | reshape_test.cc | 58 auto input_literal = LiteralUtil::CreateR2FromArray2D(input_array); in XLA_TEST_P() 100 auto input_literal = LiteralUtil::CreateR2FromArray2D(input_array); in XLA_TEST_P() 131 auto input_literal = LiteralUtil::CreateR2FromArray2D(input_array); in XLA_TEST_P() 145 LiteralUtil::CreateR2FromArray2D<float>(Array2D<float>(0, 3)); in XLA_TEST_P() 158 auto input_literal = LiteralUtil::CreateR2FromArray2D(input_array); in XLA_TEST_P() 627 Literal expected = LiteralUtil::CreateR2FromArray2D<float>(expected_array); in XLA_TEST_P() 746 auto expected = LiteralUtil::CreateR2FromArray2D(expected_array); in XLA_TEST_P()
|
D | custom_call_test.cc | 107 HloInstruction::CreateConstant(LiteralUtil::CreateR2FromArray2D(array))); in XLA_TEST_F() 122 HloInstruction::CreateConstant(LiteralUtil::CreateR2FromArray2D( in XLA_TEST_F()
|
D | dynamic_ops_test.cc | 153 std::move(LiteralUtil::CreateR2FromArray2D(input_values_int) in RunR2() 157 std::move(LiteralUtil::CreateR2FromArray2D(expected_values_int) in RunR2() 437 std::move(LiteralUtil::CreateR2FromArray2D(input_values_int) in RunR2() 441 std::move(LiteralUtil::CreateR2FromArray2D(update_values_int) in RunR2() 445 std::move(LiteralUtil::CreateR2FromArray2D(expected_values_int) in RunR2()
|
D | literal_test_util.h | 185 EXPECT_TRUE(Equal(LiteralUtil::CreateR2FromArray2D(expected), actual)); in ExpectR2EqualArray2D() 242 EXPECT_TRUE(Near(LiteralUtil::CreateR2FromArray2D(expected), actual, error)); in ExpectR2NearArray2D()
|
D | round_trip_transfer_test.cc | 88 RoundTripTest(LiteralUtil::CreateR2FromArray2D<float>(Array2D<float>(10, 0))); in TEST_F()
|
D | client_library_test_base.h | 472 LiteralUtil::CreateR2FromArray2D<NativeT>(expected); in ComputeAndCompareR2() 489 LiteralUtil::CreateR2FromArray2D<NativeT>(expected); in ComputeAndCompareR2() 580 Literal literal = LiteralUtil::CreateR2FromArray2D(array_2d); in CreateR2Parameter()
|
D | fusion_test.cc | 99 LiteralUtil::CreateR2FromArray2D(operand_data[i]))); in TestElementwise2D() 130 auto expected = LiteralUtil::CreateR2FromArray2D(answer_data); in TestElementwise2D() 811 Literal l1 = LiteralUtil::CreateR2FromArray2D(arr).Relayout( in XLA_TEST_F() 814 Literal l2 = LiteralUtil::CreateR2FromArray2D(arr).Relayout( in XLA_TEST_F()
|
D | broadcast_simple_test.cc | 77 auto r2_data = LiteralUtil::CreateR2FromArray2D(*r2_array).Relayout( in MakeR2Data() 615 auto expected = LiteralUtil::CreateR2FromArray2D(expected_array); in XLA_TEST_P()
|
D | broadcast_test.cc | 249 LiteralUtil::CreateR2FromArray2D<float>(to_broadcast))); in TEST_F()
|
D | params_test.cc | 96 LiteralUtil::CreateR2FromArray2D<float>(Array2D<float>(3, 0)); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_test.cc | 643 auto input = LiteralUtil::CreateR2FromArray2D<float>(*input_array); in TEST_P() 668 auto expected = LiteralUtil::CreateR2FromArray2D<float>(*expected_array); in TEST_P() 684 auto input = LiteralUtil::CreateR2FromArray2D<float>(*input_array); in TEST_P() 707 auto expected = LiteralUtil::CreateR2FromArray2D<float>(*expected_array); in TEST_P() 724 auto lhs_literal = LiteralUtil::CreateR2FromArray2D<float>(*lhs_array); in TEST_P() 753 auto expected = LiteralUtil::CreateR2FromArray2D<float>(expected_array); in TEST_P() 776 auto rhs_literal = LiteralUtil::CreateR2FromArray2D<float>(*rhs_array); in TEST_P() 808 auto lhs_literal = LiteralUtil::CreateR2FromArray2D<float>(*lhs_array); in TEST_P() 820 auto rhs_literal = LiteralUtil::CreateR2FromArray2D<float>(*rhs_array); in TEST_P() 841 auto expected = LiteralUtil::CreateR2FromArray2D<float>(expected_array); in TEST_P() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
D | cpu_external_constants_test.cc | 43 LiteralUtil::CreateR2FromArray2D(backing_array))); in TestWithArray()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 1979 LiteralUtil::CreateR2FromArray2D<NativeT>(values)); in ConstantR2FromArray2D()
|