Home
last modified time | relevance | path

Searched refs:literal1 (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Dall_reduce_test.cc70 auto literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() local
71 EXPECT_EQ(LiteralUtil::MakeTuple({&literal0, &literal1}), in XLA_TEST_F()
72 ExecuteAndTransfer(std::move(module), {&literal0, &literal1})); in XLA_TEST_F()
96 auto literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() local
97 EXPECT_EQ(LiteralUtil::MakeTuple({&literal0, &literal1}), in XLA_TEST_F()
Dparams_test.cc129 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() local
131 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
132 auto param1 = Parameter(&builder, 1, literal1.shape(), "param1"); in XLA_TEST_F()
174 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20}); in XLA_TEST_F() local
176 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
177 Parameter(&builder, 1, literal1.shape(), "param1"); in XLA_TEST_F()
193 Literal literal1 = LiteralUtil::CreateR1<float>({10, 20, 30}); in XLA_TEST_F() local
195 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
198 auto param1 = Parameter(&builder, 1, literal1.shape(), "param1"); in XLA_TEST_F()
199 auto param2 = Parameter(&builder, 2, literal1.shape(), "param2"); in XLA_TEST_F()
Dtransfer_manager_test.cc272 Literal literal1 = LiteralUtil::MakeTupleFromSlices( in XLA_TEST_F() local
285 auto device_buffer1 = AllocateDeviceBuffer(literal1.shape()); in XLA_TEST_F()
295 ASSERT_IS_OK(transfer_manager_->TransferLiteralToDevice(stream1, literal1, in XLA_TEST_F()
309 EXPECT_TRUE(LiteralTestUtil::Equal(literal1, result1)); in XLA_TEST_F()
Darray_elementwise_ops_test.cc1511 Literal literal1 = LiteralUtil::CreateR1<float>(values1); in XLA_TEST_F() local
1513 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
1515 auto param1 = Parameter(&b, 1, literal1.shape(), "param1"); in XLA_TEST_F()
1536 Literal literal1 = LiteralUtil::CreateR1<float>(values1); in XLA_TEST_F() local
1538 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
1540 auto param1 = Parameter(&b, 1, literal1.shape(), "param1"); in XLA_TEST_F()
1561 Literal literal1 = LiteralUtil::CreateR1<float>(values1); in XLA_TEST_F() local
1563 client_->TransferToServer(literal1).ConsumeValueOrDie(); in XLA_TEST_F()
1565 auto param1 = Parameter(&b, 1, literal1.shape(), "param1"); in XLA_TEST_F()
1586 Literal literal1 = LiteralUtil::CreateR1<float>(values1); in XLA_TEST_F() local
[all …]
/external/tensorflow/tensorflow/compiler/xrt/tests/
Draw_api_test.cc275 xla::Literal literal1 = in TEST() local
277 xla::Literal literal = xla::LiteralUtil::MakeTuple({&literal0, &literal1}); in TEST()
281 TF_ASSERT_OK(LiteralToHostTensor(literal1, DT_FLOAT, &tensor1)); in TEST()
1105 auto literal1 = xla::LiteralUtil::CreateR1<float>({5.0f, 9.0f}); in TEST() local
1106 auto literal = xla::LiteralUtil::MakeTuple({&literal0, &literal1}); in TEST()
1158 EXPECT_TRUE(CompareLiterals(exec_literal_parts[3], literal1)); in TEST()
/external/llvm/lib/Target/AMDGPU/
DR600Instructions.td662 (ins LITERAL:$literal1, LITERAL:$literal2), "$literal1, $literal2", [] > {
666 bits<32> literal1;
669 let Inst{31-0} = literal1;
994 LITERAL:$literal0, LITERAL:$literal1),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600Instructions.td628 (ins LITERAL:$literal1, LITERAL:$literal2), "$literal1, $literal2", [] > {
632 bits<32> literal1;
635 let Inst{31-0} = literal1;
1024 LITERAL:$literal0, LITERAL:$literal1),
/external/v8/src/ast/
Dast.h1095 static bool Match(void* literal1, void* literal2);