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

Method check_exec

dnn/src/common/sliding_window_transpose.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void SlidingWindowTransposeForward::check_exec(
43 const TensorLayout& src, const TensorLayout& dst, size_t workspace_in_bytes) {
44 check_layout_fwd(src, dst);
45 auto required_workspace_in_bytes = get_workspace_in_bytes(src, dst);
46 megdnn_assert(workspace_in_bytes >= required_workspace_in_bytes);
47}
48
49void SlidingWindowTransposeBackward::check_exec(
50 const TensorLayout& diff, const TensorLayout& grad, size_t workspace_in_bytes) {

Callers

nothing calls this directly

Calls 1

get_workspace_in_bytesFunction · 0.70

Tested by

no test coverage detected