Home
last modified time | relevance | path

Searched refs:BorrowingLiteral (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util.cc26 xla::BorrowingLiteral* literal) { in HostTensorToBorrowingLiteral()
35 xla::BorrowingLiteral* literal) { in HostTensorToBorrowingLiteral()
41 *literal = xla::BorrowingLiteral( in HostTensorToBorrowingLiteral()
47 xla::BorrowingLiteral literal; in HostTensorToLiteral()
70 xla::BorrowingLiteral* literal) { in HostTensorsToBorrowingLiteralTuple()
83 *literal = xla::BorrowingLiteral( in HostTensorsToBorrowingLiteralTuple()
Dliteral_util.h32 xla::BorrowingLiteral* literal);
38 xla::BorrowingLiteral* literal);
58 xla::BorrowingLiteral* literal);
Dxla_expression.cc94 xla::BorrowingLiteral literal; in AsXlaOp()
/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.h78 absl::InlinedVector<BorrowingLiteral, 1> leaves;
153 struct type_caster<xla::BorrowingLiteral> {
155 PYBIND11_TYPE_CASTER(xla::BorrowingLiteral, _("xla::BorrowingLiteral"));
180 value = xla::BorrowingLiteral(buffers,
188 value = xla::BorrowingLiteral(c->buf_ptr, c->shape);
200 type_caster<xla::BorrowingLiteral> literal_caster;
206 value = static_cast<const xla::BorrowingLiteral&>(literal_caster);
Dtypes.cc232 pybind11::detail::type_caster<BorrowingLiteral> caster; in GetPythonBufferTree()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dinfeed_ops.cc212 xla::BorrowingLiteral literal; in AutoTransposeAndLinearize()
441 xla::BorrowingLiteral literal; in DoWork()
508 xla::BorrowingLiteral tuple; in DoWork()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h575 friend class BorrowingLiteral; variable
864 class BorrowingLiteral : public LiteralBase {
866 BorrowingLiteral() : LiteralBase() {} in BorrowingLiteral() function
872 BorrowingLiteral(const char* src_buf_ptr, const Shape& shape);
874 BorrowingLiteral(absl::Span<const char* const> src_buf_ptrs,
Dliteral.cc2399 void BorrowingLiteral::BuildPieceSubtree(const Shape& shape, Piece* piece) { in BuildPieceSubtree()
2415 BorrowingLiteral::BorrowingLiteral(const char* src_buf_ptr, const Shape& shape) in BorrowingLiteral() function in xla::BorrowingLiteral
2425 BorrowingLiteral::BorrowingLiteral(absl::Span<const char* const> src_buf_ptrs, in BorrowingLiteral() function in xla::BorrowingLiteral
Dliteral_test.cc1678 BorrowingLiteral literal(reinterpret_cast<const char*>(int64_values.data()), in TEST_F()
1697 auto literal_tuple = BorrowingLiteral( in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.h158 const ::xla::BorrowingLiteral& literal, int device_ordinal);
Dlocal_client.cc449 const ::xla::BorrowingLiteral& literal, int device_ordinal) { in TransferToLocalServer()
Dxla_builder.h2559 BorrowingLiteral literal( in ConstantR1()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h333 xla::BorrowingLiteral literal = in Compute()
334 shape_.IsTuple() ? xla::BorrowingLiteral(tensors_data, shape_) in Compute()
335 : xla::BorrowingLiteral(tensors_data.front(), shape_); in Compute()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc154 xla::BorrowingLiteral literal( in CopyCPUTensorToDevice()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client_extension.cc117 std::vector<BorrowingLiteral> leaves; in PYBIND11_MODULE()
Dtpu_client.h188 std::vector<BorrowingLiteral> leaves_literals, const Shape& tuple_shape,
Dtpu_client.cc174 std::vector<BorrowingLiteral> leaves, const Shape& tuple_shape, in FromLiterals()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtransfer_manager_test.cc146 BorrowingLiteral literal(reinterpret_cast<const char*>(&test_vector[1]), in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_stream_executor_client.cc789 BorrowingLiteral literal(static_cast<const char*>(staging_buffer.get()), in BufferFromHostBuffer()
794 BorrowingLiteral literal(static_cast<const char*>(data), shape); in BufferFromHostBuffer()