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

Method size_bytes

tensorflow/compiler/xla/literal.cc:1989–1991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987}
1988
1989int64 LiteralBase::size_bytes(const ShapeIndex& shape_index) const {
1990 return piece(shape_index).size_bytes();
1991}
1992
1993string LiteralBase::GetR1U8AsString() const {
1994 CHECK(shape().IsArray());

Callers 9

SetPieceMethod · 0.45
CreateFromShapeMethod · 0.45
CopyFromMethod · 0.45
EqualElementsMethod · 0.45
CopyPieceSubtreeMethod · 0.45
HandleBitcastMethod · 0.45
ParseDenseLiteralMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected