| 1834 | } |
| 1835 | |
| 1836 | string ShapeToString(const Shape& shape) { |
| 1837 | if (shape.dimensions_count() == 0) { |
| 1838 | return "[]"; |
| 1839 | } |
| 1840 | |
| 1841 | return absl::StrCat("[ ", absl::StrJoin(shape.dims(), ", "), " ]"); |
| 1842 | } |
| 1843 | |
| 1844 | void PrintArrayShape(Model* model, const string& name) { |
| 1845 | if (!model->GetArray(name).has_shape()) { |
no test coverage detected