| 108 | } |
| 109 | |
| 110 | void 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 | |
| 124 | void SampleEdgeInputs(const NodeDef& pre_node, NodeDef* node) { |
| 125 | (void) pre_node; |
nothing calls this directly
no outgoing calls
no test coverage detected