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

Method load

express/module/Module.cpp:155–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155Module* Module::load(const std::vector<std::string>& inputs, const std::vector<std::string>& outputs, const char* fileName, const Module::Config* config) {
156 return load(inputs, outputs, fileName, nullptr, config);
157}
158
159Module* Module::load(const std::vector<std::string>& inputs, const std::vector<std::string>& outputs, const uint8_t* buffer, size_t length, const Module::Config* config) {
160 return load(inputs, outputs, buffer, length, nullptr, config);

Callers

nothing calls this directly

Calls 12

loadInternalFunction · 0.85
loadFunction · 0.50
stringFunction · 0.50
validMethod · 0.45
readMethod · 0.45
mergeMethod · 0.45
getMethod · 0.45
resetMethod · 0.45
emptyMethod · 0.45
setExternalFileMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected