MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / exec

Method exec

dnn/src/naive/relayout/opr_impl.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33} // namespace
34
35void 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
43void RelayoutForwardImpl::do_exec(_megdnn_tensor_in src, _megdnn_tensor_out dst) {
44 MIDOUT_BEGIN(naive_relayout, midout_iv(0)) {

Callers

nothing calls this directly

Calls 2

do_execFunction · 0.50

Tested by

no test coverage detected