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

Method ToString

tensorflow/compiler/xla/service/buffer_assignment.cc:224–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224string BufferAllocation::Slice::ToString() const {
225 return absl::StrCat("{index:", index(), ", offset:", offset_,
226 ", size:", size_, "}");
227}
228
229BufferAllocation::Slice BufferAllocation::GetSlice(
230 const HloValue& buffer) const {

Callers 7

GetUniqueSliceMethod · 0.45
AddAssignmentMethod · 0.45
MaybeAssignBufferMethod · 0.45
CreateAssignmentMethod · 0.45

Calls 12

GetOutputInstructionFunction · 0.85
is_constantFunction · 0.85
StrCatFunction · 0.50
sizeFunction · 0.50
StrAppendFunction · 0.50
HumanReadableNumBytesFunction · 0.50
valueMethod · 0.45
shapeMethod · 0.45
push_backMethod · 0.45
ToShortStringMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected