MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ~CustomLib

Method ~CustomLib

src/custom/impl/manager.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54CustomLib::~CustomLib() {
55 for (auto& op : m_ops) {
56 CustomOpManager::inst()->erase(op);
57 }
58}
59
60const std::vector<std::string>& CustomLib::ops_in_lib(void) const {
61 return m_ops;

Callers

nothing calls this directly

Calls 2

instFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected