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

Method usable_output

src/core/impl/graph/operator_node.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167const VarNodeArray OperatorNodeBase::usable_output() const {
168 VarNodeArray outputs;
169 for (auto oup : m_output) {
170 if (!oup->contain_flag(cg::VarNode::Flag::VOLATILE_CONTENT)) {
171 outputs.push_back(oup);
172 }
173 }
174 return outputs;
175}
176
177size_t OperatorNodeBase::hash() const {
178 XXHash hstate;

Callers 15

init_graph_rtFunction · 0.45
operator()Method · 0.45
apply_on_var_nodeFunction · 0.45
apply_on_var_nodeFunction · 0.45
apply_on_var_nodeFunction · 0.45
replace_oprsMethod · 0.45
insert_preMethod · 0.45
insert_postMethod · 0.45
analyze_edgesMethod · 0.45
solveMethod · 0.45
profileMethod · 0.45

Calls 2

contain_flagMethod · 0.45
push_backMethod · 0.45

Tested by 1

apply_on_var_nodeFunction · 0.36