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

Function ShapeToString

tensorflow/compiler/xla/literal.cc:963–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961namespace {
962
963string ShapeToString(bool print_layout, const Shape& shape) {
964 return print_layout ? ShapeUtil::HumanStringWithLayout(shape)
965 : ShapeUtil::HumanString(shape);
966}
967
968void ToStringHelper(const LiteralBase& literal, const ShapeIndex& shape_index,
969 bool print_shape, bool print_layout,

Callers 1

DenseArrayToStringHelperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected