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

Function make_conv

src/core/test/mem_reuse.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace {
14
15SymbolVar make_conv(SymbolVar inp, SymbolVar kern) {
16 using Conv = opr::Convolution;
17 Conv::ExecutionPolicy poly;
18 poly.workspace_limit = 0;
19 SymbolVar conv = Conv::make(inp, kern, {}, poly);
20 return conv;
21}
22
23// used for test NO_SYS_MEM_ALLOC
24MGB_DEFINE_OPR_CLASS(SharedDeviceTensorDirect, cg::SingleCNOperatorNodeBase) // {

Callers 1

TESTFunction · 0.85

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected