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

Method ToString

tensorflow/compiler/xla/literal.cc:1083–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081} // namespace
1082
1083string LiteralBase::ToString() const {
1084 std::vector<string> pieces;
1085 CHECK(LayoutUtil::HasLayout(this->shape()));
1086 ToStringHelper(*this, {}, /*print_shape=*/true,
1087 /*print_layout=*/false, &pieces);
1088 return absl::StrJoin(pieces, "");
1089}
1090
1091string LiteralBase::ToStringWithoutShape() const {
1092 std::vector<string> pieces;

Callers 1

literal.ccFile · 0.45

Calls 2

ToStringHelperFunction · 0.85
shapeMethod · 0.45

Tested by

no test coverage detected