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

Method PartialShapeListString

tensorflow/core/framework/tensor_shape.cc:839–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839string PartialTensorShapeUtils::PartialShapeListString(
840 const gtl::ArraySlice<PartialTensorShape>& shapes) {
841 string result = "[";
842 bool first = true;
843 for (const PartialTensorShape& shape : shapes) {
844 strings::StrAppend(&result, (first ? "" : ", "), shape.DebugString());
845 first = false;
846 }
847 strings::StrAppend(&result, "]");
848 return result;
849}
850
851bool PartialTensorShapeUtils::AreCompatible(
852 const gtl::ArraySlice<PartialTensorShape>& shapes0,

Callers

nothing calls this directly

Calls 2

StrAppendFunction · 0.50
DebugStringMethod · 0.45

Tested by

no test coverage detected