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

Method do_make_node_prop

src/opr/impl/basic_arith.cpp:727–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727Elemwise::NodeProp* Elemwise::do_make_node_prop() const {
728 auto ret = Super::do_make_node_prop();
729 for (auto& inp : input()) {
730 ret->add_dep_type_existing_var(inp, NodeProp::DepType::VALUE_ALLOW_EMPTY);
731 }
732 return ret;
733}
734
735/* =========================== TypeCvt =========================== */
736

Callers

nothing calls this directly

Calls 1

do_make_node_propFunction · 0.50

Tested by

no test coverage detected