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

Function is_conv_pad

dnn/src/cuda/padding/opr_impl.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace cuda {
9
10bool is_conv_pad(size_t offsets[MEGDNN_MAX_NDIM * 2]) {
11 return (offsets[0] == offsets[2] && offsets[0] == 0);
12}
13
14void PaddingForwardImpl::exec(_megdnn_tensor_in src, _megdnn_tensor_out dst) {
15 forward_check_exec(src.layout, dst.layout);

Callers 1

execMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected