| 37 | } |
| 38 | |
| 39 | static bool verify_shape(const migraphx::shape& s1, const migraphx::shape& s2) |
| 40 | { |
| 41 | if(s1.elements() != s2.elements()) |
| 42 | return false; |
| 43 | return migraphx::all_of(migraphx::range(s1.elements()), |
| 44 | [&](auto i) { return s1.index(i) == s2.index(i); }); |
| 45 | } |
| 46 | |
| 47 | template <class Range1, class Range2> |
| 48 | static bool verify_shapes(const Range1& r1, const Range2& r2) |
no test coverage detected