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

Method ToStringWithoutShape

tensorflow/compiler/xla/literal.cc:1091–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089}
1090
1091string LiteralBase::ToStringWithoutShape() const {
1092 std::vector<string> pieces;
1093 CHECK(LayoutUtil::HasLayout(this->shape()));
1094 ToStringHelper(*this, {}, /*print_shape=*/false,
1095 /*print_layout=*/false, &pieces);
1096 return absl::StrJoin(pieces, "");
1097}
1098
1099string LiteralBase::ToStringWithLayout() const {
1100 std::vector<string> pieces;

Callers 4

MatchImplMethod · 0.80
TEST_FFunction · 0.80

Calls 2

ToStringHelperFunction · 0.85
shapeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64