| 173 | } |
| 174 | |
| 175 | int32_t GetPOutputNum(const NodeDef& node_def) { |
| 176 | int32_t cnt = 0; |
| 177 | for (std::shared_ptr<AttrDef> attr : node_def.attrs_) { |
| 178 | if (attr->attr_type_ == AttrDef::kNorm) { |
| 179 | ++cnt; |
| 180 | } |
| 181 | } |
| 182 | return cnt * 2; |
| 183 | } |
| 184 | |
| 185 | int32_t SampleEdgeOutputNum(const NodeDef& node_def) { |
| 186 | (void) node_def; |
nothing calls this directly
no outgoing calls
no test coverage detected