| 35 | #include <test.hpp> |
| 36 | |
| 37 | static void run_pass(migraphx::module& m) |
| 38 | { |
| 39 | migraphx::run_passes(m, |
| 40 | { |
| 41 | migraphx::simplify_reshapes{.enable_op_shape_transform_op = true, |
| 42 | .enable_gather_rewrite = true}, |
| 43 | migraphx::eliminate_common_subexpression{}, |
| 44 | migraphx::dead_code_elimination{}, |
| 45 | }); |
| 46 | } |
| 47 | |
| 48 | inline static std::vector<std::vector<std::size_t>> |
| 49 | to_lens(const std::vector<migraphx::shape>& shapes) |
no test coverage detected