- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shaped_buffer (0.32 sec)
-
tensorflow/compiler/jit/xla_tensor.h
// manage the memory for these tensors a ShapedBuffer may be required. // Return true if this XlaTensor contains a ShapedBuffer. bool has_shaped_buffer() const { return shaped_buffer_.has_value(); } // Return the contained ShapedBuffer. // REQUIRES: has_shaped_buffer() const xla::ShapedBuffer& shaped_buffer() const { CHECK(has_shaped_buffer()); return *shaped_buffer_; } xla::ShapedBuffer& shaped_buffer() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.cc
subshape.layout().memory_space())); // Move our buffer into shaped_buffer, which takes ownership of it. index_to_buffer.second = buffer.Release(); } VLOG(4) << shaped_buffer.ToString(); set_shaped_buffer(std::move(shaped_buffer)); return absl::OkStatus(); } void XlaTensor::WaitForDefinitionEventOnStream(se::Stream* stream) { mutex_lock lock(mu_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.5K bytes - Viewed (0)