MCPcopy Create free account
hub / github.com/alibaba/euler / GetNBNodeInputs

Function GetNBNodeInputs

euler/parser/gen_node_def_input_output.cc:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void GetNBNodeInputs(const NodeDef& pre_node, NodeDef* node) {
85 if (pre_node.name_ == "API_SAMPLE_NB" ||
86 pre_node.name_ == "API_GATHER_RESULT" ||
87 pre_node.name_ == "API_GET_RNB_NODE" ||
88 pre_node.name_ == "API_GET_NB_NODE" ||
89 pre_node.name_ == "API_GET_NB_FILTER" ||
90 pre_node.name_ == "API_SAMPLE_N_WITH_TYPES") {
91 node->input_edges_.push_back({pre_node.name_, pre_node.id_, 1});
92 } else {
93 NORMAL_INPUT_GEN();
94 }
95}
96
97void GetNodeTInputs(const NodeDef& pre_node, NodeDef* node) {
98 if (pre_node.name_ == "API_SAMPLE_NB" ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected