| 76 | } |
| 77 | |
| 78 | string Shape::ToString(bool print_layout) const { |
| 79 | if (print_layout) { |
| 80 | return ShapeUtil::HumanStringWithLayout(*this); |
| 81 | } else { |
| 82 | return ShapeUtil::HumanString(*this); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | bool Shape::is_static() const { |
| 87 | if (IsTuple()) { |