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

Method on_comp_node_finalize

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

Source from the content-addressed store, hash-verified

68 };
69
70 std::shared_ptr<void> on_comp_node_finalize() override {
71 MGB_LOCK_GUARD(m_mtx);
72 m_handle2ops.clear();
73 return {};
74 }
75
76 std::unordered_map<Handle, std::unordered_map<OpTypeInfo, DnnOpWithMutex>>
77 m_handle2ops;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected