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

Method on_comp_node_finalize

src/core/impl/graph/cg_impl_seq.cpp:324–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324std::shared_ptr<void> ComputingGraphImpl::ComputingSequence::on_comp_node_finalize() {
325 cleanup();
326 m_exec_env.clear();
327 m_comp_node_seq_recorder.reset();
328 m_opr2stepnum.clear();
329 return {};
330}
331
332void ComputingGraphImpl::ComputingSequence::assert_latest_comp_seq() const {
333 mgb_throw_if(

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected