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

Method GetDefaultLayoutForR4

tensorflow/compiler/xla/layout_util.cc:134–136  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

132}
133
134/* static */ Layout LayoutUtil::GetDefaultLayoutForR4() {
135 return CreateDefaultLayoutForRank(4);
136}
137
138/* static */ void LayoutUtil::SetToDefaultLayout(Shape* shape) {
139 if (shape->IsTuple()) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected