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

Method do_make_node_prop

src/opr/impl/cond.cpp:470–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470CondExecPred::NodeProp* CondExecPred::do_make_node_prop() const {
471 auto ret = Super::do_make_node_prop();
472 for (auto&& i : ret->dep_map()) {
473 i.second = NodeProp::DepType::HOST_VALUE;
474 }
475 return ret;
476}
477
478void CondExecPred::scn_do_execute() {
479 auto&& mgr = owner_graph()->static_infer_manager();

Callers

nothing calls this directly

Calls 5

backMethod · 0.80
reset_dep_typeMethod · 0.80
do_make_node_propFunction · 0.50
atMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected