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

Method set_subshape

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

Source from the content-addressed store, hash-verified

358 // subshape within the shape in the containing Literal (Literal::shape_).
359 const Shape& subshape() const { return *subshape_; }
360 void set_subshape(const Shape* subshape) { subshape_ = subshape; }
361
362 // Returns the size in bytes of the buffer holding the array data.
363 int64 size_bytes() const { return ShapeUtil::ByteSizeOf(subshape()); }

Callers 8

SetPieceMethod · 0.80
LiteralMethod · 0.80
MoveFromMethod · 0.80
CopyPieceSubtreeMethod · 0.80
literal.ccFile · 0.80
BuildPieceSubtreeMethod · 0.80
BorrowingLiteralMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected