| 33 | } // namespace |
| 34 | |
| 35 | void RelayoutForwardImpl::exec( |
| 36 | _megdnn_tensor_in src0, _megdnn_tensor_out dst0, Handle* src_handle) { |
| 37 | check_cpu_handle(src_handle); |
| 38 | TensorND src = src0, dst = dst0; |
| 39 | check_layout_and_canonize(src.layout, dst.layout); |
| 40 | do_exec(src, dst); |
| 41 | } |
| 42 | |
| 43 | void RelayoutForwardImpl::do_exec(_megdnn_tensor_in src, _megdnn_tensor_out dst) { |
| 44 | MIDOUT_BEGIN(naive_relayout, midout_iv(0)) { |
nothing calls this directly
no test coverage detected