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

Method createMultiPathSession

source/core/Interpreter.cpp:246–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246Session* Interpreter::createMultiPathSession(const std::vector<ScheduleConfig>& configs) {
247 RuntimeInfo runtime = createRuntime(configs);
248 if (runtime.first.empty()) {
249 MNN_ERROR("Runtime not valid for create session\n");
250 return nullptr;
251 }
252 return createMultiPathSession(configs, std::move(runtime));
253}
254
255Session* Interpreter::createMultiPathSession(const std::vector<ScheduleConfig>& configs, const RuntimeInfo& runtime) {
256 for (auto& iter : runtime.first) {

Callers

nothing calls this directly

Calls 15

loadCacheMethod · 0.80
durationInUsMethod · 0.80
writeCacheFileFunction · 0.70
to_stringFunction · 0.50
emptyMethod · 0.45
setRuntimeHintMethod · 0.45
onSetCachePathMethod · 0.45
c_strMethod · 0.45
getMethod · 0.45
onSetCacheMethod · 0.45
sizeMethod · 0.45
validMethod · 0.45

Tested by

no test coverage detected