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

Method ~CompSeq

src/core/impl/graph/memory_optimizer.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 m_seq = owner->topo_sorter().get_comp_seq(extra_info, endpoints);
12}
13MemoryOptimizerHelper::CompSeq::~CompSeq() {
14 m_owner_graph->topo_sorter().restore_opr_prop();
15}
16
17void MemoryOptimizerHelper::set_priority(OperatorNodeBase* opr, int pri) {
18 int& val = opr->node_prop().attribute().priority;

Callers

nothing calls this directly

Calls 1

restore_opr_propMethod · 0.80

Tested by

no test coverage detected