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

Method run

test/expr/ModuleTest.cpp:864–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862 return true;
863 }
864 virtual bool run(int precision) {
865 ExecutorScope::Current()->lazyEval = true;
866 ExecutorScope::Current()->setLazyComputeMode(MNN::Express::Executor::LAZY_CONTENT);
867 auto res = _run(precision, true);
868 if (!res) {
869 FUNC_PRINT(1);
870 return false;
871 }
872 ExecutorScope::Current()->setLazyComputeMode(MNN::Express::Executor::LAZY_FULL);
873 res = _run(precision, true);
874 return res;
875 }
876};
877MNNTestSuiteRegister(SessionTest, "expr/SessionTest");
878

Callers

nothing calls this directly

Calls 2

_runFunction · 0.85
setLazyComputeModeMethod · 0.80

Tested by

no test coverage detected