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

Method clearCache

express/module/Module.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147}
148void Module::clearCache() {
149 for (auto c : mChildren) {
150 c->clearCache();
151 }
152 this->onClearCache();
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);

Callers 5

_quantizeModelEMAMethod · 0.80
trainMethod · 0.80
trainMethod · 0.80
PyMNN_Module_clear_cacheFunction · 0.80
onForwardMethod · 0.80

Calls 1

onClearCacheMethod · 0.45

Tested by

no test coverage detected