| 738 | } |
| 739 | |
| 740 | bool operator==(const shape::dynamic_dimension& x, const shape::dynamic_dimension& y) |
| 741 | { |
| 742 | // don't check optimals if both are fixed |
| 743 | return (x.min == y.min and x.max == y.max and |
| 744 | ((x.is_fixed() and y.is_fixed()) or (x.optimals == y.optimals))); |
| 745 | } |
| 746 | |
| 747 | bool operator!=(const shape::dynamic_dimension& x, const shape::dynamic_dimension& y) |
| 748 | { |