/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | map_test.cc | 172 Literal param0_literal = LiteralUtil::CreateR0<float>(42.0); in TEST_F() local 174 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 176 auto param = Parameter(&builder, 0, param0_literal.shape(), "param0"); in TEST_F() 186 Literal param0_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_F() local 188 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 190 auto param = Parameter(&builder, 0, param0_literal.shape(), "param0"); in XLA_TEST_F() 200 Literal param0_literal = in TEST_F() local 203 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 205 auto param = Parameter(&builder, 0, param0_literal.shape(), "param0"); in TEST_F() 214 Literal param0_literal = in TEST_F() local [all …]
|
D | params_test.cc | 45 Literal param0_literal = LiteralUtil::CreateR0<float>(3.14159f); in XLA_TEST_F() local 47 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 57 Literal param0_literal = LiteralUtil::CreateR1<float>({}); in XLA_TEST_F() local 59 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 69 Literal param0_literal = LiteralUtil::CreateR1<float>({3.14f, -100.25f}); in XLA_TEST_F() local 71 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 82 Literal param0_literal = LiteralUtil::CreateR1U8(str); in XLA_TEST_F() local 84 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 95 Literal param0_literal = in XLA_TEST_F() local 98 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() [all …]
|
D | prng_test.cc | 196 Literal param0_literal = in XLA_TEST_F() local 199 client_->TransferToServer(param0_literal)); in XLA_TEST_F() 201 auto param0 = Parameter(&builder, 0, param0_literal.shape(), "param0"); in XLA_TEST_F() 215 ShapeUtil::ElementsIn(param0_literal.shape())); in XLA_TEST_F() 217 EXPECT_GE(actual.data<float>()[i], param0_literal.data<float>()[i]); in XLA_TEST_F() 218 EXPECT_LT(actual.data<float>()[i], param0_literal.data<float>()[i] + 1.0f); in XLA_TEST_F()
|
D | deconstruct_tuple_test.cc | 173 Literal param0_literal = LiteralUtil::CreateR1<float>({3.14f, -100.25f}); in XLA_TEST_F() local 175 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F()
|
D | reshape_test.cc | 116 Literal param0_literal = LiteralUtil::CreateR0<float>(1.0f); in XLA_TEST_P() local 118 auto input = CreateParameterAndTransferLiteral(0, param0_literal, "param0", in XLA_TEST_P() 144 Literal param0_literal = in XLA_TEST_P() local 147 auto input = CreateParameterAndTransferLiteral(0, param0_literal, "param0", in XLA_TEST_P()
|
D | array_elementwise_ops_test.cc | 2167 Literal param0_literal = in XLA_TEST_F() local 2170 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 2177 auto p0 = Parameter(&builder, 0, param0_literal.shape(), "param0"); in XLA_TEST_F() 2189 Literal param0_literal = in XLA_TEST_F() local 2192 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 2199 auto p0 = Parameter(&builder, 0, param0_literal.shape(), "param0"); in XLA_TEST_F() 2211 Literal param0_literal = in XLA_TEST_F() local 2214 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in XLA_TEST_F() 2217 auto p = Parameter(&builder, 0, param0_literal.shape(), "param0"); in XLA_TEST_F()
|
D | fusion_test.cc | 866 auto param0_literal = in BM_ParallelFusion() local 869 client->LiteralToShapedBuffer(param0_literal, device_ordinal) in BM_ParallelFusion()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | sample_harness.cc | 40 xla::Literal param0_literal = in main() local 43 client->TransferToServer(param0_literal).ConsumeValueOrDie(); in main() 52 auto p0 = Parameter(&builder, 0, param0_literal.shape(), "param0"); in main()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_compiler_test.cc | 214 xla::Literal param0_literal = xla::LiteralUtil::CreateR1<int32>({7, 42}); in TEST_F() local 217 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 265 xla::Literal param0_literal = xla::LiteralUtil::CreateR1<int32>({7, 42}); in TEST_F() local 268 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 278 EXPECT_TRUE(xla::LiteralTestUtil::Equal(param0_literal, actual_literal)); in TEST_F() 502 xla::Literal param0_literal = xla::LiteralUtil::CreateR1<int32>({7, 42}); in TEST_F() local 504 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 534 xla::Literal param0_literal = xla::LiteralUtil::CreateR1<int32>({7, 42}); in TEST_F() local 536 client_->TransferToServer(param0_literal).ConsumeValueOrDie(); in TEST_F() 960 xla::Literal param0_literal = xla::LiteralUtil::CreateR1<int32>({7, 42}); in RunAndCheckVariablesComputation() local [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_test.cc | 2053 Literal param0_literal = LiteralUtil::CreateR1<float>({1, 2, 3, 4}); in TEST_P() local 2058 add, {{param0, ¶m0_literal}, {square, &square_literal}})); in TEST_P()
|