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

Method mutable_layout

tensorflow/compiler/xla/shape.h:131–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 bool has_layout() const { return layout_.format() != INVALID_FORMAT; }
130 const Layout& layout() const { return layout_; }
131 Layout* mutable_layout() { return &layout_; }
132 void clear_layout() { layout_.Clear(); }
133
134 // Recursively clear dynamic dimension of a shape.

Callers 15

BuildComputationFunction · 0.80
AssignLayoutFunction · 0.80
TEST_FFunction · 0.80
BuildFakeQuantCustomCallFunction · 0.80
SetDefaultLayoutOnProtoFunction · 0.80
ReshapeSliceMethod · 0.80
AppendMajorDimensionMethod · 0.80
PermuteDimensionsMethod · 0.80
AlignLayoutsMethod · 0.80
ResetLayoutMethod · 0.80

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.64
SetDefaultLayoutOnProtoFunction · 0.64
TESTFunction · 0.64
MakeShapeWithLayoutMethod · 0.64
TEST_FFunction · 0.64
SetMinorToMajorLayoutFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_PFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64