| 323 | } |
| 324 | |
| 325 | void ReformatProfiler::MarkInputContiguous::init_output_static_infer_desc() { |
| 326 | using namespace cg::static_infer; |
| 327 | auto&& mgr = owner_graph()->static_infer_manager(); |
| 328 | mgr.register_shape_infer(output(0), ShapeInferDesc::make_identity(input(0))); |
| 329 | } |
| 330 | |
| 331 | void ReformatProfiler::MarkInputContiguous::add_input_layout_constraint() { |
| 332 | input(0)->add_layout_constraint_contiguous(); |
nothing calls this directly
no test coverage detected