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

Method Literal

tensorflow/compiler/xla/literal.cc:118–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118Literal::Literal(const Shape& shape)
119 : Literal(shape, /*allocate_arrays=*/true) {}
120
121void Literal::SetPiece(const Shape& shape, Piece* piece, bool allocate_arrays) {
122 if (shape.IsTuple()) {

Callers

nothing calls this directly

Calls 2

set_subshapeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected