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

Method exec

dnn/src/aarch64/warp_perspective/opr_impl.cpp:12–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace aarch64 {
11
12void WarpPerspectiveImpl::exec(
13 _megdnn_tensor_in src, _megdnn_tensor_in mat, _megdnn_tensor_in mat_idx,
14 _megdnn_tensor_in dst, _megdnn_workspace workspace) {
15 check_exec(src.layout, mat.layout, mat_idx.layout, dst.layout, workspace.size);
16 if (warp::is_cv_available(
17 src.layout, mat.layout, dst.layout, param().imode, param().format)) {
18 warp_perspective_cv_exec(
19 src, mat, mat_idx, dst, param().border_val, param().bmode,
20 param().imode, handle());
21 } else {
22 //! Use arm_common implementation
23 arm_common::WarpPerspectiveImpl::exec(src, mat, mat_idx, dst, workspace);
24 }
25}
26
27} // namespace aarch64
28} // namespace megdnn

Callers

nothing calls this directly

Calls 3

warp_perspective_cv_execFunction · 0.85
paramFunction · 0.50
execFunction · 0.50

Tested by

no test coverage detected