static */
| 542 | } |
| 543 | |
| 544 | /* static */ bool ShapeUtil::Compatible(const Shape& lhs, const Shape& rhs) { |
| 545 | return Shape::Equal().IgnoreDynamicDimension().IgnoreLayout()(lhs, rhs); |
| 546 | } |
| 547 | |
| 548 | /* static */ bool ShapeUtil::CompatibleIgnoringElementType(const Shape& lhs, |
| 549 | const Shape& rhs) { |