Home
last modified time | relevance | path

Searched defs:shaped_buffer (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dxla_tensor.h63 const xla::ShapedBuffer& shaped_buffer() const { in shaped_buffer() function
67 xla::ShapedBuffer& shaped_buffer() { in shaped_buffer() function
72 void set_shaped_buffer(xla::ScopedShapedBuffer shaped_buffer) { in set_shaped_buffer()
Dxla_tensor.cc54 xla::ScopedShapedBuffer shaped_buffer(on_host_shape, on_device_shape, in AllocateShapedBuffer() local
Dxla_device.cc124 const xla::ShapedBuffer& shaped_buffer = xla_tensor->shaped_buffer(); in DefaultPaddedShapeFn() local
/external/tensorflow/tensorflow/compiler/xla/service/
Dallocation_tracker.cc34 ScopedShapedBuffer shaped_buffer, const string& tag) { in Register()
66 for (const auto& shaped_buffer : replicated_buffers) { in RegisterInternal() local
77 for (auto& shaped_buffer : replicated_buffers) { in RegisterInternal() local
110 for (const auto& shaped_buffer : replicated_buffers) { in Unregister() local
130 for (auto& shaped_buffer : it->second) { in Unregister() local
144 const ShapedBuffer* shaped_buffer = replicated_buffers[0]; in DeconstructTuple() local
207 for (const auto& shaped_buffer : it->second) { in ResolveInternal() local
Dshaped_buffer.cc114 ScopedShapedBuffer::ScopedShapedBuffer(ShapedBuffer shaped_buffer, in ScopedShapedBuffer()
137 ShapedBuffer shaped_buffer(static_cast<ShapedBuffer&&>(*this)); in release() local
Dtransfer_manager.cc169 ShapedBuffer shaped_buffer(/*on_host_shape=*/literal.shape(), on_device_shape, in TransferArrayToDeviceAsync() local
193 ShapedBuffer shaped_buffer(/*on_host_shape=*/shape, shape, in TransferArrayFromDevice() local
320 ScopedShapedBuffer shaped_buffer(on_host_shape, on_device_shape, allocator, in AllocateScopedShapedBuffer() local
Dshaped_buffer_test.cc161 xla::ScopedShapedBuffer shaped_buffer(shape, shape, /*allocator=*/&allocator, in BM_TakeSubTree() local
Dservice.cc246 const ShapedBuffer* shaped_buffer = replicated_buffers[replica]; in ResolveAndValidateArguments() local
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc200 auto shaped_buffer = scoped_buffer->release(); in CreateAndTransfer() local
210 const xla::ShapedBuffer& shaped_buffer, xla::Backend* backend, in CreateFromBuffer()
229 xla::ShapedBuffer shaped_buffer = ToShapedBuffer(); in ToLiteral() local
500 const xla::ShapedBuffer& shaped_buffer, in InitializeFromShapedBuffer()
510 xla::ShapedBuffer shaped_buffer(on_host_shape(), on_device_shape(), in ToShapedBuffer() local
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc213 const ShapedBuffer& shaped_buffer) { in LiteralFromShapedBuffer()
279 const ShapedBuffer& shaped_buffer) { in ShapedBufferToLiteral()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_test_base.cc140 const ShapedBuffer& shaped_buffer) { in ShapedBufferToLiteral()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.cc290 ScopedShapedBuffer shaped_buffer(root->shape(), root->shape(), in ExecuteOnStream() local
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc226 auto shaped_buffer = scoped_buffer.release(); in DoWork() local
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.cc119 LocalShapedBuffer::LocalShapedBuffer(ScopedShapedBuffer shaped_buffer, in LocalShapedBuffer()
123 const ScopedShapedBuffer* LocalShapedBuffer::shaped_buffer() const { in shaped_buffer() function in xla::swig::LocalShapedBuffer
188 ShapedBuffer shaped_buffer(subshape, subshape, platform, device_ordinal); in DestructureTuple() local