static */
| 554 | } |
| 555 | |
| 556 | /* static */ bool ShapeUtil::CompatibleIgnoringFpPrecision(const Shape& lhs, |
| 557 | const Shape& rhs) { |
| 558 | return Shape::Equal() |
| 559 | .IgnoreDynamicDimension() |
| 560 | .IgnoreFpPrecision() |
| 561 | .IgnoreLayout()(lhs, rhs); |
| 562 | } |
| 563 | |
| 564 | /* static */ int64 ShapeUtil::GetDimension(const Shape& shape, |
| 565 | int64 dimension_number) { |