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

Function GetRNBNodeInputs

euler/parser/gen_node_def_input_output.cc:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void GetRNBNodeInputs(const NodeDef& pre_node, NodeDef* node) {
72 if (pre_node.name_ == "API_SAMPLE_NB" ||
73 pre_node.name_ == "API_GATHER_RESULT" ||
74 pre_node.name_ == "API_GET_RNB_NODE" ||
75 pre_node.name_ == "API_GET_NB_NODE" ||
76 pre_node.name_ == "API_GET_NB_FILTER" ||
77 pre_node.name_ == "API_SAMPLE_N_WITH_TYPES") {
78 node->input_edges_.push_back({pre_node.name_, pre_node.id_, 1});
79 } else {
80 NORMAL_INPUT_GEN();
81 }
82}
83
84void GetNBNodeInputs(const NodeDef& pre_node, NodeDef* node) {
85 if (pre_node.name_ == "API_SAMPLE_NB" ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected