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

Method buffer

tensorflow/compiler/xla/literal.h:354–354  ·  view source on GitHub ↗

Gets/sets the buffer holding the array data.

Source from the content-addressed store, hash-verified

352
353 // Gets/sets the buffer holding the array data.
354 char* buffer() const { return buffer_; }
355 void set_buffer(char* buffer) { buffer_ = buffer; }
356
357 // Gets or sets the subshape of this piece. This reference points to a

Callers 15

MakeTupleMethod · 0.45
PopulateOutputsMethod · 0.45
DeallocateBuffersMethod · 0.45
DecomposeTupleMethod · 0.45
CopyFromMethod · 0.45
MoveFromMethod · 0.45
EqualElementsMethod · 0.45
CopyPieceSubtreeMethod · 0.45
CopyToDeviceMethod · 0.45

Calls

no outgoing calls

Tested by 2

RunAndCheckMethod · 0.36