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

Function do_make_node_prop

src/core/impl/graph/cg_impl.cpp:197–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 NodeProp* do_make_node_prop() const override {
198 auto ret = Super::do_make_node_prop();
199 for (auto&& inp : input()) {
200 ret->add_dep_type_existing_var(inp, NodeProp::DepType::VALUE_ALLOW_EMPTY);
201 }
202 return ret;
203 }
204
205 bool update_priority() const override {
206 node_prop().attribute().priority = std::numeric_limits<int>::min();

Callers 2

operator_node.cppFile · 0.70
do_make_node_propMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected