Home
last modified time | relevance | path

Searched refs:scoped_buffer (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc268 TF_ASSIGN_OR_RETURN(auto scoped_buffer, in LiteralToShapedBuffer()
274 stream.get(), literal, scoped_buffer)); in LiteralToShapedBuffer()
275 return std::move(scoped_buffer); in LiteralToShapedBuffer()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshaped_buffer_test.cc40 auto scoped_buffer = absl::make_unique<xla::ScopedShapedBuffer>( in TEST() local
42 std::unique_ptr<xla::ShapedBuffer> buffer = std::move(scoped_buffer); in TEST()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc189 std::unique_ptr<xla::ScopedShapedBuffer> scoped_buffer; in CreateAndTransfer() local
191 backend, device_ordinal, literal.shape(), &scoped_buffer)); in CreateAndTransfer()
194 stream.get(), literal, *scoped_buffer)); in CreateAndTransfer()
200 auto shaped_buffer = scoped_buffer->release(); in CreateAndTransfer()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc225 auto scoped_buffer = run_result.ConsumeValueOrDie(); in DoWork() local
226 auto shaped_buffer = scoped_buffer.release(); in DoWork()