Searched refs:CreateFromArray (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reshape_test.cc | 239 auto input_literal = LiteralUtil::CreateFromArray(Array2D<float>(0, 2)); in XLA_TEST_P() 255 auto input_literal = LiteralUtil::CreateFromArray(*simple); in XLA_TEST_P() 264 auto expected_literal = LiteralUtil::CreateFromArray(*expected); in XLA_TEST_P() 273 auto input_literal = LiteralUtil::CreateFromArray(*a4x3); in XLA_TEST_P() 282 auto expected_literal = LiteralUtil::CreateFromArray(*expected); in XLA_TEST_P() 290 auto input_literal = LiteralUtil::CreateFromArray(Array2D<float>(0, 4)); in XLA_TEST_P() 305 auto input_literal = LiteralUtil::CreateFromArray(*a4x3); in XLA_TEST_P() 313 auto expected_literal = LiteralUtil::CreateFromArray(*expected); in XLA_TEST_P() 322 auto input_literal = LiteralUtil::CreateFromArray(Array2D<float>(6, 0)); in XLA_TEST_P() 330 LiteralUtil::CreateFromArray(Array4D<float>(2, 3, 0, 0)); in XLA_TEST_P() [all …]
|
D | reduce_window_test.cc | 173 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*res), {}, in XLA_TEST_P() 188 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*res), {}, in XLA_TEST_P() 202 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*res), {}, in XLA_TEST_P() 219 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*res), {}, in XLA_TEST_P() 241 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*result), {}, in XLA_TEST_P() 278 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*result), {}, in XLA_TEST_P() 303 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*result), {}, in XLA_TEST_P() 320 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*result), {}, in XLA_TEST_P() 358 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*expected), in XLA_TEST_P() 378 ComputeAndCompareLiteral(&builder_, LiteralUtil::CreateFromArray(*res), in XLA_TEST_P() [all …]
|
D | convolution_test.cc | 133 {LiteralUtil::CreateFromArray(input_data), in RunTest() 134 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 167 {LiteralUtil::CreateFromArray(input_data), in RunTest() 168 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 202 {LiteralUtil::CreateFromArray(input_data), in RunTest() 203 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 234 {LiteralUtil::CreateFromArray(input_data), in RunTest() 235 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 1540 {LiteralUtil::CreateFromArray(param0), in XLA_TEST_P() 1541 LiteralUtil::CreateFromArray(param1)}, in XLA_TEST_P() [all …]
|
D | client_library_test_base.h | 300 return AddParam(LiteralUtil::CreateFromArray(argument), builder); in AddParam() 315 return CreateConstantFromLiteral(LiteralUtil::CreateFromArray(array), in CreateConstantFromArray() 583 Literal expected_literal = LiteralUtil::CreateFromArray<NativeT>(expected); in ComputeAndCompare() 599 Literal expected_literal = LiteralUtil::CreateFromArray<NativeT>(expected); in ComputeAndCompare() 678 Literal literal = LiteralUtil::CreateFromArray(array); in CreateParameter()
|
D | batch_normalization_test.cc | 279 {LiteralUtil::CreateFromArray(out), LiteralUtil::CreateR1<float>({4, 5}), in XLA_TEST_P() 333 {LiteralUtil::CreateFromArray(out), LiteralUtil::CreateR1<float>({4, 5}), in XLA_TEST_P() 463 {LiteralUtil::CreateFromArray(out), LiteralUtil::CreateR1<float>({0, 0}), in XLA_TEST_P()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_util.h | 127 static Literal CreateFromArray(const Array<NativeT>& values); 413 /* static */ Literal LiteralUtil::CreateFromArray( in CreateFromArray() function 428 return CreateFromArray(values); in CreateR2FromArray2D() 440 return CreateFromArray(values); in CreateR3FromArray3D() 499 return CreateFromArray(values); in CreateR4FromArray4D()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | sorting_test.cc | 126 CreateConstantFromLiteral(LiteralUtil::CreateFromArray(input), &builder); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | bfloat16_propagation_test.cc | 241 HloInstruction::CreateConstant(LiteralUtil::CreateFromArray(array_a))); in TEST_F() 243 HloInstruction::CreateConstant(LiteralUtil::CreateFromArray(array_b))); in TEST_F() 257 LiteralUtil::ConvertF32ToBF16(LiteralUtil::CreateFromArray(array_a)), in TEST_F() 260 LiteralUtil::ConvertF32ToBF16(LiteralUtil::CreateFromArray(array_b)), in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 2596 LiteralUtil::CreateFromArray<NativeT>(values)); in ConstantFromArray()
|