Return true if this XlaTensor contains a ShapedBuffer.
| 58 | |
| 59 | // Return true if this XlaTensor contains a ShapedBuffer. |
| 60 | bool has_shaped_buffer() const { return shaped_buffer_ != nullptr; } |
| 61 | // Return the contained ShapedBuffer. |
| 62 | // REQUIRES: has_shaped_buffer() |
| 63 | const xla::ShapedBuffer& shaped_buffer() const { |
no outgoing calls
no test coverage detected