| 746 | #undef MAKE_SHAPE |
| 747 | |
| 748 | string 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 | |
| 760 | PartialTensorShape PartialTensorShape::Concatenate(int64 size) const { |
| 761 | PartialTensorShape out = *this; |
nothing calls this directly
no test coverage detected