| 837 | } |
| 838 | |
| 839 | string 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 | |
| 851 | bool PartialTensorShapeUtils::AreCompatible( |
| 852 | const gtl::ArraySlice<PartialTensorShape>& shapes0, |
nothing calls this directly
no test coverage detected