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

Method ToString

tensorflow/compiler/xla/shape.cc:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78string Shape::ToString(bool print_layout) const {
79 if (print_layout) {
80 return ShapeUtil::HumanStringWithLayout(*this);
81 } else {
82 return ShapeUtil::HumanString(*this);
83 }
84}
85
86bool Shape::is_static() const {
87 if (IsTuple()) {

Callers 15

TransformMethod · 0.45
mainFunction · 0.45
ReplaceSendRecvsFunction · 0.45
RunFunction · 0.45
RunFunction · 0.45
InlineAllFunctionsFunction · 0.45
ArrayToStringMethod · 0.45
ExpandTreeOfTuplesMethod · 0.45

Calls 1

StrCatFunction · 0.50

Tested by 10

TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TestBitcastOpFunction · 0.36