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

Method setExternalPath

express/Executor.cpp:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248}
249void Executor::RuntimeManager::setExternalPath(std::string path, int type) {
250 if (type == MNN::Interpreter::EXTERNAL_NPU_FILE_DIR) {
251 mInside->mContent->mNpuDir = path;
252 return;
253 }
254 mInside->mContent->modes.setExternalPath(path, type);
255}
256void Executor::RuntimeManager::setHintPtr(Interpreter::HintMode mode, void* value) {
257 if (mode == Interpreter::KVCACHE_INFO) {
258 mInside->mMeta = value;

Callers 4

mainFunction · 0.45
setRuntimeHintMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 2

runMethod · 0.36
runMethod · 0.36