static */
| 118 | } // namespace |
| 119 | |
| 120 | /* static */ bool ShapeUtil::Equal(const Shape& lhs, const Shape& rhs) { |
| 121 | bool equal = Shape::Equal()(lhs, rhs); |
| 122 | |
| 123 | if (!equal && VLOG_IS_ON(3)) { |
| 124 | VLOG(3) << "ShapeUtil::Equal differ: lhs = " << lhs.ShortDebugString() |
| 125 | << ", rhs = " << rhs.ShortDebugString(); |
| 126 | } |
| 127 | |
| 128 | return equal; |
| 129 | } |
| 130 | |
| 131 | /* static */ bool ShapeUtil::EqualIgnoringElementType(const Shape& lhs, |
| 132 | const Shape& rhs) { |