MCPcopy Create free account
hub / github.com/alibaba/MNN / cloneCurrentExecutor

Function cloneCurrentExecutor

test/TestUtils.cpp:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95std::shared_ptr<MNN::Express::Executor> cloneCurrentExecutor() {
96 auto attr = MNN::Express::ExecutorScope::Current()->getAttr();
97 return MNN::Express::Executor::newExecutor(getCurrentType(), attr->config, attr->numThread);
98}

Callers 15

runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls 2

getCurrentTypeFunction · 0.85
getAttrMethod · 0.45

Tested by

no test coverage detected