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

Method findSubGraph

express/Executor.cpp:681–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681std::shared_ptr<Executor::SubGraph> Executor::findSubGraph(const std::string& submoduleName) {
682#ifndef MNN_REDUCE_SIZE
683 auto iter = mSubGraph.find(submoduleName);
684 if (iter == mSubGraph.end()) {
685 return nullptr;
686 }
687 return iter->second;
688#else
689 return nullptr;
690#endif
691}
692void Executor::setLazyComputeMode(uint32_t mode) {
693 mLazyMode = mode;
694}

Callers 2

_LoopFunction · 0.80
saveMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected