| 33 | struct test_contiguous : verify_program<test_contiguous<DType>> |
| 34 | { |
| 35 | migraphx::program create_program() const |
| 36 | { |
| 37 | migraphx::program p; |
| 38 | auto* mm = p.get_main_module(); |
| 39 | migraphx::shape s{DType, {4, 4, 4, 3}, {48, 4, 1, 16}}; |
| 40 | auto x = mm->add_parameter("x", s); |
| 41 | mm->add_instruction(migraphx::make_op("contiguous"), x); |
| 42 | assert(p.get_output_shapes().back().standard()); |
| 43 | return p; |
| 44 | } |
| 45 | }; |
| 46 | |
| 47 | template struct test_contiguous<migraphx::shape::float_type>; |
nothing calls this directly
no test coverage detected