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

Function GetPInputs

euler/parser/gen_node_def_input_output.cc:110–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void GetPInputs(const NodeDef& pre_node, NodeDef* node) {
111 if (pre_node.name_ == "API_SAMPLE_NB" ||
112 pre_node.name_ == "API_GATHER_RESULT" ||
113 pre_node.name_ == "API_GET_RNB_NODE" ||
114 pre_node.name_ == "API_GET_NB_NODE" ||
115 pre_node.name_ == "API_GET_NB_EDGE" ||
116 pre_node.name_ == "API_GET_NB_FILTER" ||
117 pre_node.name_ == "API_SAMPLE_N_WITH_TYPES") {
118 node->input_edges_.push_back({pre_node.name_, pre_node.id_, 1});
119 } else {
120 NORMAL_INPUT_GEN();
121 }
122}
123
124void SampleEdgeInputs(const NodeDef& pre_node, NodeDef* node) {
125 (void) pre_node;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected