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

Method ShapeListString

tensorflow/core/framework/tensor_shape.cc:748–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746#undef MAKE_SHAPE
747
748string TensorShapeUtils::ShapeListString(
749 const gtl::ArraySlice<TensorShape>& shapes) {
750 string result = "[";
751 bool first = true;
752 for (const TensorShape& shape : shapes) {
753 strings::StrAppend(&result, (first ? "" : ", "), shape.DebugString());
754 first = false;
755 }
756 strings::StrAppend(&result, "]");
757 return result;
758}
759
760PartialTensorShape PartialTensorShape::Concatenate(int64 size) const {
761 PartialTensorShape out = *this;

Callers

nothing calls this directly

Calls 2

StrAppendFunction · 0.50
DebugStringMethod · 0.45

Tested by

no test coverage detected