| 247 | } |
| 248 | } |
| 249 | void 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 | } |
| 256 | void Executor::RuntimeManager::setHintPtr(Interpreter::HintMode mode, void* value) { |
| 257 | if (mode == Interpreter::KVCACHE_INFO) { |
| 258 | mInside->mMeta = value; |