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

Method do_make_node_prop

src/opr/impl/nn_int.cpp:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84ElemwiseMultiType::NodeProp* ElemwiseMultiType::do_make_node_prop() const {
85 auto ret = Super::do_make_node_prop();
86 for (auto& inp : input()) {
87 ret->add_dep_type_existing_var(inp, NodeProp::DepType::VALUE_ALLOW_EMPTY);
88 }
89 return ret;
90}
91
92void ElemwiseMultiType::init_output_static_infer_desc() {
93 Super::init_output_static_infer_desc();

Callers

nothing calls this directly

Calls 1

do_make_node_propFunction · 0.50

Tested by

no test coverage detected