Home
last modified time | relevance | path

Searched refs:LiteralToHostTensor (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util_test.cc27 TEST(LiteralUtil, LiteralToHostTensor) { in TEST() argument
34 LiteralToHostTensor(int64_values_literal, DT_INT32, &host_tensor) in TEST()
37 LiteralToHostTensor(int64_values_literal, DT_QINT32, &host_tensor) in TEST()
40 LiteralToHostTensor(int64_values_literal, DT_INT64, &host_tensor).ok()); in TEST()
62 EXPECT_TRUE(LiteralToHostTensor(int_values_literal, in TYPED_TEST()
68 EXPECT_TRUE(LiteralToHostTensor(int_values_literal, in TYPED_TEST()
78 LiteralToHostTensor(int_values_literal, DT_INT64, &host_tensor).code()); in TYPED_TEST()
Dliteral_util.h61 Status LiteralToHostTensor(const xla::LiteralSlice& literal,
Dliteral_util.cc101 Status LiteralToHostTensor(const xla::LiteralSlice& literal, in LiteralToHostTensor() function
Dxla_expression.cc137 TF_RETURN_IF_ERROR(LiteralToHostTensor(literal, dtype(), &tensor)); in ResolveConstant()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstrided_slice_op.cc60 ctx, LiteralToHostTensor(begin_literal, index_type_, &begin_tensor)); in Compile()
62 LiteralToHostTensor(end_literal, index_type_, &end_tensor)); in Compile()
63 OP_REQUIRES_OK(ctx, LiteralToHostTensor(strides_literal, index_type_, in Compile()
144 ctx, LiteralToHostTensor(begin_literal, index_type_, &begin_tensor)); in Compile()
146 LiteralToHostTensor(end_literal, index_type_, &end_tensor)); in Compile()
147 OP_REQUIRES_OK(ctx, LiteralToHostTensor(strides_literal, index_type_, in Compile()
252 ctx, LiteralToHostTensor(begin_literal, index_type_, &begin_tensor)); in Compile()
254 LiteralToHostTensor(end_literal, index_type_, &end_tensor)); in Compile()
255 OP_REQUIRES_OK(ctx, LiteralToHostTensor(strides_literal, index_type_, in Compile()
/external/tensorflow/tensorflow/compiler/xrt/tests/
Draw_api_test.cc250 TF_ASSERT_OK(LiteralToHostTensor(literal, DT_FLOAT, &tensor)); in TEST()
279 TF_ASSERT_OK(LiteralToHostTensor(literal0, DT_FLOAT, &tensor0)); in TEST()
281 TF_ASSERT_OK(LiteralToHostTensor(literal1, DT_FLOAT, &tensor1)); in TEST()
308 TF_ASSERT_OK(LiteralToHostTensor(literal0, DT_FLOAT, &tensor0)); in TEST()
333 TF_ASSERT_OK(LiteralToHostTensor(literal, DT_FLOAT, &tensor)); in TEST()