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

Method check_exec

dnn/src/common/resize.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void Resize::check_exec(
58 const TensorLayout& src, const TensorLayout& dst, size_t workspace_in_bytes) {
59 check_layout_fwd(src, dst);
60 auto required_workspace_in_bytes = get_workspace_in_bytes(src, dst);
61 megdnn_assert(workspace_in_bytes >= required_workspace_in_bytes);
62}
63
64void ResizeBackward::check_exec(
65 const TensorLayout& diff, const TensorLayout& grad, size_t workspace_in_bytes) {

Callers

nothing calls this directly

Calls 2

get_workspace_in_bytesFunction · 0.70
paramFunction · 0.50

Tested by

no test coverage detected