MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / has_shaped_buffer

Method has_shaped_buffer

tensorflow/compiler/jit/xla_tensor.h:60–60  ·  view source on GitHub ↗

Return true if this XlaTensor contains a ShapedBuffer.

Source from the content-addressed store, hash-verified

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 {

Callers 3

CopyCPUTensorToDeviceMethod · 0.80
PopulateInputsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected