/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | round_trip_transfer_test.cc | 56 RoundTripTest(LiteralUtil::CreateR1<float>({})); in TEST_F() 60 RoundTripTest(LiteralUtil::CreateR1<float>({42.0, 64.0})); in TEST_F() 66 RoundTripTest(LiteralUtil::CreateR1<float>(values)); in TEST_F() 72 RoundTripTest(LiteralUtil::CreateR1<float>(values)); in TEST_F() 78 RoundTripTest(LiteralUtil::CreateR1<float>(values)); in TEST_F() 84 RoundTripTest(LiteralUtil::CreateR1<float>(values)); in TEST_F() 115 LiteralUtil::MakeTupleFromSlices({LiteralUtil::CreateR1<float>({1, 2}), in TEST_F() 116 LiteralUtil::CreateR1<float>({3, 4})})); in TEST_F() 121 LiteralUtil::MakeTupleFromSlices({LiteralUtil::CreateR1<float>({}), in TEST_F() 122 LiteralUtil::CreateR1<float>({3, 4})})); in TEST_F() [all …]
|
D | scatter_test.cc | 67 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 98 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 1}); in XLA_TEST_F() 126 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 223 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 252 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 281 Literal scatter_indices = LiteralUtil::CreateR1<int32>({2, 1}); in XLA_TEST_F() 311 Literal scatter_indices = LiteralUtil::CreateR1<int32>({1, 1}); in XLA_TEST_F() 429 Literal scatter_indices = LiteralUtil::CreateR1<int32>({1, 1}); in XLA_TEST_F() 484 Literal scatter_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 511 Literal operand = LiteralUtil::CreateR1<int32>({0, 1, 2}); in XLA_TEST_F() [all …]
|
D | tuple_test.cc | 56 LiteralUtil::CreateR1<float>(constant_vector), in XLA_TEST_F() 93 LiteralUtil::CreateR1<float>(constant_vector), in XLA_TEST_F() 106 {LiteralUtil::CreateR0<float>(7.0), LiteralUtil::CreateR1<float>({})}); in XLA_TEST_F() 201 LiteralUtil::CreateR1<float>(constant_vector)}); in XLA_TEST_F() 291 {LiteralUtil::CreateR1<float>(vec2), LiteralUtil::CreateR1<float>(vec1)}); in XLA_TEST_F() 335 {LiteralUtil::CreateR1<float>(vec1), LiteralUtil::CreateR1<float>(vec2)}); in XLA_TEST_F() 410 {LiteralUtil::CreateR1<float>(vec2), LiteralUtil::CreateR1<float>(vec1)}); in XLA_TEST_F() 420 auto expected_v1 = LiteralUtil::CreateR1<float>({1.0, 2.0}); in XLA_TEST_F() 424 auto expected_v2 = LiteralUtil::CreateR1<float>({22.0, 44.0}); in XLA_TEST_F() 447 LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0}), in XLA_TEST_F() [all …]
|
D | literal_test_util_test.cc | 104 auto expected = LiteralUtil::CreateR1<int32>({1, 2, 3}); in TEST() 105 auto actual = LiteralUtil::CreateR1<int32>({4, 5, 6}); in TEST() 114 auto a = LiteralUtil::CreateR1<float>( in TEST() 116 auto b = LiteralUtil::CreateR1<float>( in TEST() 122 auto a = LiteralUtil::CreateR1<float>( in TEST() 124 auto b = LiteralUtil::CreateR1<float>( in TEST() 130 auto a = LiteralUtil::CreateR1<float>( in TEST() 133 LiteralUtil::CreateR1<float>({0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7}); in TEST()
|
D | convolution_test.cc | 444 auto input_r1 = LiteralUtil::CreateR1<float>(input_elems); in XLA_TEST_F() 449 auto filter_r1 = LiteralUtil::CreateR1<float>(filter_elems); in XLA_TEST_F() 452 auto expected_r1 = LiteralUtil::CreateR1<float>( in XLA_TEST_F() 507 auto input_r1 = LiteralUtil::CreateR1<T>(input_elems); in RunTest() 512 auto filter_r1 = LiteralUtil::CreateR1<T>(filter_elems); in RunTest() 515 auto expected_r1 = LiteralUtil::CreateR1<T>( in RunTest() 567 auto input_r1 = LiteralUtil::CreateR1<T>(input_elems); in RunTest() 572 auto filter_r1 = LiteralUtil::CreateR1<T>(filter_elems); in RunTest() 575 auto expected_r1 = LiteralUtil::CreateR1<T>( in RunTest() 633 auto input_r1 = LiteralUtil::CreateR1<T>(input_elems); in RunTest() [all …]
|
D | all_reduce_test.cc | 48 auto literal = LiteralUtil::CreateR1<float>({1, 2, 3}); in XLA_TEST_F() 69 auto literal0 = LiteralUtil::CreateR1<float>({1, 2, 3}); in XLA_TEST_F() 70 auto literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() 95 auto literal0 = LiteralUtil::CreateR1<float>({1, 2, 3}); in XLA_TEST_F() 96 auto literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F()
|
D | transfer_manager_test.cc | 88 LiteralUtil::CreateR1<float>({1.25f, 2.5f, -17.0f, -20.125f}); in XLA_TEST_F() 106 Literal literal = LiteralUtil::CreateR1<float>(test_vector); in XLA_TEST_F() 179 LiteralUtil::CreateR1<float>({44.0f, -10.0f, 3333333.3f})}); in XLA_TEST_F() 211 LiteralUtil::CreateR1<float>({44.0f, -10.0f, 3333333.3f})}), in XLA_TEST_F() 212 LiteralUtil::CreateR1<float>({-10.0f, 123.0f})}); in XLA_TEST_F() 226 Literal literal = LiteralUtil::CreateR1<complex64>( in XLA_TEST_F() 242 {LiteralUtil::CreateR1<complex64>( in XLA_TEST_F() 244 LiteralUtil::CreateR1<int32>({1, 2, 3, 4, 5, 6}), in XLA_TEST_F() 276 LiteralUtil::CreateR1<float>({44.0f, -10.0f, 3333333.3f})}), in XLA_TEST_F() 277 LiteralUtil::CreateR1<float>({-10.0f, 123.0f})}); in XLA_TEST_F() [all …]
|
D | batch_normalization_test.cc | 248 LiteralUtil::CreateR1<float>({4, 5}), in XLA_TEST_P() 249 LiteralUtil::CreateR1<float>({5, 5})}); in XLA_TEST_P() 272 LiteralUtil::CreateR1<float>({4, 5}), in XLA_TEST_P() 273 LiteralUtil::CreateR1<float>({5, 5})}); in XLA_TEST_P() 301 LiteralUtil::CreateR1<float>(std::vector<float>(260, 1.0f)), in XLA_TEST_P() 302 LiteralUtil::CreateR1<float>(std::vector<float>(260, 0.0f))}); in XLA_TEST_P() 334 LiteralUtil::CreateR1<float>(std::vector<float>(1, 15.0f)), in XLA_TEST_P() 335 LiteralUtil::CreateR1<float>(std::vector<float>(1, 125.0f))}); in XLA_TEST_P() 365 LiteralUtil::CreateR1<float>({0, 0}), in XLA_TEST_P() 366 LiteralUtil::CreateR1<float>({16, 20})}); in XLA_TEST_P() [all …]
|
D | gather_operation_test.cc | 63 Literal start_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 84 Literal start_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 216 Literal start_indices = LiteralUtil::CreateR1<int32>({1, 1}); in XLA_TEST_F() 257 Literal start_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 401 Literal operand = LiteralUtil::CreateR1<int32>({1, 2, 3, 4}); in XLA_TEST_F() 423 Literal start_indices = LiteralUtil::CreateR1<int32>({}); in XLA_TEST_F() 447 Literal start_indices = LiteralUtil::CreateR1<int32>({0, 2}); in XLA_TEST_F() 573 Literal start_indices = LiteralUtil::CreateR1<int32>({1, 1}); in XLA_TEST_F() 617 Literal start_indices = LiteralUtil::CreateR1<int32>({}); in XLA_TEST_F() 660 client_->TransferToServer(LiteralUtil::CreateR1<int32>({0, 2}))); in XLA_TEST_F()
|
D | params_test.cc | 57 Literal param0_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_F() 69 Literal param0_literal = LiteralUtil::CreateR1<float>({3.14f, -100.25f}); in XLA_TEST_F() 124 Literal literal0 = LiteralUtil::CreateR1<float>({1, 2}); in XLA_TEST_F() 129 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() 169 Literal literal0 = LiteralUtil::CreateR1<float>({1, 2}); in XLA_TEST_F() 174 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() 189 Literal literal0 = LiteralUtil::CreateR1<float>({1, 2}); in XLA_TEST_F() 193 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20, 30}); in XLA_TEST_F() 233 Literal literal = LiteralUtil::CreateR1<float>(sum_value); in XLA_TEST_F() 300 Literal literal = LiteralUtil::CreateR1<int32>({i, i}); in XLA_TEST_F() [all …]
|
D | map_test.cc | 186 Literal param0_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_F() 201 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() 215 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() 228 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() 242 LiteralUtil::CreateR1<float>({2.6f, -5.1f, 0.1f, 0.2f, 999.0f, 255.5f}); in TEST_F() 258 Literal param0_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_F() 275 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() 346 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() 350 LiteralUtil::CreateR1<float>({5.1f, 4.4f, -0.1f, -5.5f}); in TEST_F() 417 LiteralUtil::CreateR1<float>({2.2f, 3.3f, 4.4f, 5.5f}); in TEST_F() [all …]
|
D | reduce_precision_test.cc | 232 Literal a_literal = LiteralUtil::CreateR1<float>({input_values}); in XLA_TEST_P() 255 Literal a_literal = LiteralUtil::CreateR1<float>({1.00001}); in XLA_TEST_F() 284 Literal a_literal = LiteralUtil::CreateR1<float>({1.00001, 1.00001}); in XLA_TEST_F() 310 Literal a_literal = LiteralUtil::CreateR1<float>({1.00001, 1.00001}); in XLA_TEST_F() 334 Literal a_literal = LiteralUtil::CreateR1<float>({1.00001}); in XLA_TEST_F() 359 Literal a_literal = LiteralUtil::CreateR1<float>({1.00001, 1.00001}); in XLA_TEST_F()
|
D | reshape_test.cc | 64 auto expected_literal = LiteralUtil::CreateR1<float>({1.0f}); in XLA_TEST_P() 71 auto input_literal = LiteralUtil::CreateR1<float>({1.0f}); in XLA_TEST_P() 77 auto expected_literal = LiteralUtil::CreateR1<float>({1.0f}); in XLA_TEST_P() 84 auto input_literal = LiteralUtil::CreateR1<float>({1.0f}); in XLA_TEST_P() 90 auto expected_literal = LiteralUtil::CreateR1<float>({1.0f}); in XLA_TEST_P() 123 auto expected_literal = LiteralUtil::CreateR1<float>({-1.0f}); in XLA_TEST_P() 136 auto expected_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_P() 150 auto expected_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_P() 163 auto expected_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_P() 176 auto expected_literal = LiteralUtil::CreateR1<float>({1.0f, 2.0f, 3.0f}); in XLA_TEST_P() [all …]
|
D | bfloat16_test.cc | 107 LiteralUtil::CreateR1<bfloat16>( in XLA_TEST_F() 109 LiteralUtil::CreateR1<bfloat16>( in XLA_TEST_F() 149 LiteralUtil::CreateR1<bfloat16>( in XLA_TEST_F() 151 LiteralUtil::CreateR1<bfloat16>( in XLA_TEST_F()
|
D | call_test.cc | 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()
|
D | token_hlo_test.cc | 265 auto input = LiteralUtil::CreateR1<float>({1.0, 3.0, 7.0}); in XLA_TEST_F() 266 auto expected = LiteralUtil::CreateR1<float>({-1.0, -3.0, -7.0}); in XLA_TEST_F() 288 auto p0 = LiteralUtil::CreateR1<float>({3.0, 3.0, 47.0}); in XLA_TEST_F() 289 auto p1 = LiteralUtil::CreateR1<float>({1.0, -2.0, 2.0}); in XLA_TEST_F() 290 auto expected = LiteralUtil::CreateR1<float>({2.0, 5.0, 45.0}); in XLA_TEST_F()
|
D | local_client_execute_test.cc | 84 auto x_array = LiteralToShapedBuffer(LiteralUtil::CreateR1<float>({})); in XLA_TEST_F() 98 LiteralToShapedBuffer(LiteralUtil::CreateR1<float>({0.0f, 1.0f, 2.0f})); in XLA_TEST_F() 112 LiteralToShapedBuffer(LiteralUtil::CreateR1<float>({0.0f, 1.0f, 2.0f})); in XLA_TEST_F() 303 LiteralUtil::CreateR1<float>({42.0, 75.0, 123.0})}); in XLA_TEST_F() 305 {LiteralUtil::CreateR1<float>({2.0, 4.0, 6.0}), in XLA_TEST_F() 350 LiteralUtil::CreateR1<float>({42.0, 75.0, 123.0})}), in XLA_TEST_F() 351 LiteralUtil::CreateR1<float>({222.0, -2.0, 10.0})}); in XLA_TEST_F() 431 arg_elements.push_back(LiteralUtil::CreateR1<float>({1.0f * i, -1.0f * i})); in XLA_TEST_F() 553 LiteralToShapedBuffer(LiteralUtil::CreateR1<float>({1.0f, 2.0f, 3.0f})); in XLA_TEST_F() 768 LiteralToShapedBuffer(LiteralUtil::CreateR1<float>({0.0f, 1.0f, 2.0f})); in XLA_TEST_F() [all …]
|
D | fusion_test.cc | 311 LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0}))); in XLA_TEST_F() 470 HloInstruction::CreateConstant(LiteralUtil::CreateR1<int32>({1, 2, 3}))); in XLA_TEST_F() 478 LiteralTestUtil::Equal(LiteralUtil::CreateR1<int32>({3, 2, 1}), in XLA_TEST_F() 486 HloInstruction::CreateConstant(LiteralUtil::CreateR1<int32>({1, 2, 3}))); in XLA_TEST_F() 496 LiteralTestUtil::Equal(LiteralUtil::CreateR1<int32>({-3, -2, -1}), in XLA_TEST_F() 514 LiteralTestUtil::Equal(LiteralUtil::CreateR1<int32>({-1, -1}), in XLA_TEST_F() 522 LiteralUtil::CreateR1<int32>({1, 2, 3, 4}))); in XLA_TEST_F() 532 LiteralTestUtil::Equal(LiteralUtil::CreateR1<int32>({-1, -3}), in XLA_TEST_F() 540 LiteralUtil::CreateR1<int32>({1, 2, 3, 4}))); in XLA_TEST_F() 554 LiteralTestUtil::Equal(LiteralUtil::CreateR1<int32>({-2, -3}), in XLA_TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
D | cpu_infeed_test.cc | 65 TestInfeedRoundTrip(LiteralUtil::CreateR1<uint32>({1, 2, 3})); in TEST_F() 101 {LiteralUtil::CreateR1<uint32>({1, 2, 3}), in TEST_F() 160 client_->TransferToInfeed(LiteralUtil::CreateR1<float>({1, 2, 3}))); in TEST_F() 162 client_->TransferToInfeed(LiteralUtil::CreateR1<float>({4, 5, 6}))); in TEST_F() 164 client_->TransferToInfeed(LiteralUtil::CreateR1<float>({7, 8, 9}))); in TEST_F() 166 client_->TransferToInfeed(LiteralUtil::CreateR1<float>({10, 11, 12}))); in TEST_F() 168 client_->TransferToInfeed(LiteralUtil::CreateR1<float>({13, 14, 15}))); in TEST_F() 253 LiteralUtil::MakeTupleFromSlices({LiteralUtil::CreateR1<float>({1, 2}), in TEST_F() 256 LiteralUtil::MakeTupleFromSlices({LiteralUtil::CreateR1<float>({3, 4}), in TEST_F() 259 LiteralUtil::MakeTupleFromSlices({LiteralUtil::CreateR1<float>({5, 6}), in TEST_F() [all …]
|
D | cpu_fusion_test.cc | 53 auto input_literal1 = LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0}); in TEST_F() 54 auto input_literal2 = LiteralUtil::CreateR1<float>({-2.0, -42.0, 2.0}); in TEST_F() 93 auto input_literal = LiteralUtil::CreateR1<float>({-1.5, -2.5, -3.0}); in TEST_F() 143 auto input_literal = LiteralUtil::CreateR1<float>({-1.5, -2.5, -3.0}); in TEST_F() 240 auto input_literal = LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0}); in TEST_F() 298 auto input_literal1 = LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0}); in TEST_F() 299 auto input_literal2 = LiteralUtil::CreateR1<float>({-2.0, -42.0, 2.0}); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math_test.cc | 44 Log(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}}), &b)); in TestLogEdgeCases() 55 Log1p(AddParam(LiteralUtil::CreateR1<T>({T{0.0}, T{-0.0}, T{-1.0}}), &b)); in TestLog1pEdgeCases() 80 LiteralUtil::CreateR1<bool>( in TestIsInfOrNan() 82 LiteralUtil::CreateR1<bool>( in TestIsInfOrNan() 84 LiteralUtil::CreateR1<bool>( in TestIsInfOrNan() 86 LiteralUtil::CreateR1<bool>( in TestIsInfOrNan() 88 LiteralUtil::CreateR1<bool>( in TestIsInfOrNan() 99 LiteralUtil::CreateR1<T>({T{-0.0}, T{0}, T{1}, T{-1}, inf, -inf, nan}), in TestIsNegZero() 104 LiteralUtil::CreateR1<bool>( in TestIsNegZero() 131 auto x = AddParam(LiteralUtil::CreateR1<T>({-inf}), &b); in TestSqrtPowInequivalence() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_creation_utils_test.cc | 61 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({3, 4})})); in TEST_F() 62 CHECK_EQ(result_literal, LiteralUtil::CreateR1<int32>({3, 4})); in TEST_F() 103 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({9, 10})})); in TEST_F() 122 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({9, 10})})); in TEST_F() 161 {LiteralUtil::CreateR1<int32>({1, 2, 3, 4, 5, 6})})); in TEST_F() 182 evaluator.Evaluate(*module, {LiteralUtil::CreateR1<int32>({3, 4})})); in TEST_F() 183 CHECK_EQ(result_literal, LiteralUtil::CreateR1<int32>({0, 0, 0, 3, 4, 0})); in TEST_F()
|
D | map_inliner_test.cc | 55 LiteralUtil::CreateR1<float>({1, 2, 3, 4}))); in TEST_F() 57 LiteralUtil::CreateR1<float>({4, 3, 2, 1}))); in TEST_F() 73 auto expected = LiteralUtil::CreateR1<float>({4, 3, 3, 4}); in TEST_F() 127 LiteralUtil::CreateR1<float>({1, 2, 3, 4}))); in TEST_F() 129 LiteralUtil::CreateR1<float>({4, 3, 2, 1}))); in TEST_F() 145 auto expected = LiteralUtil::CreateR1<float>({3, 1, -1, -3}); in TEST_F()
|
D | hlo_evaluator_test.cc | 304 auto low = LiteralUtil::CreateR1<int64>( in TEST_F() 306 auto value = LiteralUtil::CreateR1<int64>( in TEST_F() 308 auto high = LiteralUtil::CreateR1<int64>( in TEST_F() 310 auto expected = LiteralUtil::CreateR1<int64>( in TEST_F() 338 auto operand = LiteralUtil::CreateR1<float>({}); in TEST_P() 339 auto expected = LiteralUtil::CreateR1<float>({}); in TEST_P() 372 auto x = LiteralUtil::CreateR1<complex128>({{1, 0}, {-100, 4}}); in TEST_F() 373 auto expected_real = LiteralUtil::CreateR1<double>({1, -100}); in TEST_F() 378 auto x = LiteralUtil::CreateR1<complex128>({{1, 0}, {-100, 4}}); in TEST_F() 379 auto expected_imag = LiteralUtil::CreateR1<double>({0, 4}); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_test.cc | 138 auto pred_vec = LiteralUtil::CreateR1<bool>({true, false, true}); in TEST_F() 392 auto vector_literal = LiteralUtil::CreateR1<float>({1.0, 2.0, 3.0, 4.0}); in TEST_F() 462 auto vector = LiteralUtil::CreateR1<complex64>({{1.0, 2.0}, {3.0, 4.0}}); in TEST_F() 467 LiteralUtil::CreateR1<complex64>({{1.0, 2.0}, {3.0, 4.0}}); in TEST_F() 471 LiteralUtil::CreateR1<complex64>({{3.0, 4.0}, {1.0, 2.0}}); in TEST_F() 477 auto vector = LiteralUtil::CreateR1<complex128>({{1.0, 2.0}, {3.0, 4.0}}); in TEST_F() 482 LiteralUtil::CreateR1<complex128>({{1.0, 2.0}, {3.0, 4.0}}); in TEST_F() 486 LiteralUtil::CreateR1<complex128>({{3.0, 4.0}, {1.0, 2.0}}); in TEST_F() 527 EXPECT_TRUE(LiteralUtil::CreateR1<int>({100, 100, 100}).IsAll(100)); in TEST_F() 528 EXPECT_FALSE(LiteralUtil::CreateR1<double>({100, 100, 100.001}).IsAll(100)); in TEST_F() [all …]
|