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

Method getInfo

express/module/Module.cpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310};
311
312const Module::Info* Module::getInfo() const {
313 if (mType != "Net") {
314 MNN_ERROR("The Module is not load from buffer, can't get info\n");
315 return nullptr;
316 }
317 return ((NetModule*)(this))->info();
318}
319
320static void _loadInputs(Module::Info* info, const std::vector<std::string>& inputs, const Net* net) {
321 auto type = net->sourceType();

Callers 7

loadParametersMethod · 0.45
NetModuleMethod · 0.45
onForwardMethod · 0.45
onForwardMethod · 0.45
onForwardMethod · 0.45
_resizeMethod · 0.45
onForwardMethod · 0.45

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected