MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / delete_handle

Method delete_handle

imperative/src/impl/ops/rng.cpp:88–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 size_t delete_handle(Handle handle) {
89 MGB_LOCK_GUARD(sm_mtx);
90 return DnnOpManagerBase::delete_handle(handle);
91 }
92
93 Handle do_new_handle(CompNode comp_node, uint64_t seed) {
94 auto handle = m_handle_pool.alloc(comp_node, seed);

Callers

nothing calls this directly

Calls 1

delete_handleFunction · 0.85

Tested by

no test coverage detected