| 200 | } |
| 201 | |
| 202 | std::string getAttrNameStr(OPATTR attr) { |
| 203 | |
| 204 | switch (attr) { |
| 205 | case (attr_activation_alpha): |
| 206 | return "activation_alpha"; |
| 207 | break; |
| 208 | case (attr_activation_beta): |
| 209 | return "activation_beta"; |
| 210 | break; |
| 211 | case (attr_activations): |
| 212 | return "activations"; |
| 213 | break; |
| 214 | case (attr_alpha): |
| 215 | return "alpha"; |
| 216 | break; |
| 217 | case (attr_auto_pad): |
| 218 | return "auto_pad"; |
| 219 | break; |
| 220 | case (attr_axes): |
| 221 | return "axes"; |
| 222 | break; |
| 223 | case (attr_axis): |
| 224 | return "axis"; |
| 225 | break; |
| 226 | case (attr_batch_axis): |
| 227 | return "batch_axis"; |
| 228 | break; |
| 229 | case (attr_beta): |
| 230 | return "beta"; |
| 231 | break; |
| 232 | case (attr_bias): |
| 233 | return "bias"; |
| 234 | break; |
| 235 | case (attr_blocksize): |
| 236 | return "blocksize"; |
| 237 | break; |
| 238 | case (attr_body): |
| 239 | return "body"; |
| 240 | break; |
| 241 | case (attr_case_change_action): |
| 242 | return "case_change_action"; |
| 243 | break; |
| 244 | case (attr_ceil_mode): |
| 245 | return "ceil_mode"; |
| 246 | break; |
| 247 | case (attr_center_point_box): |
| 248 | return "center_point_box"; |
| 249 | break; |
| 250 | case (attr_clip): |
| 251 | return "clip"; |
| 252 | break; |
| 253 | case (attr_count_include_pad): |
| 254 | return "count_include_pad"; |
| 255 | break; |
| 256 | case (attr_detect_negative): |
| 257 | return "detect_negative"; |
| 258 | break; |
| 259 | case (attr_detect_positive): |
no outgoing calls
no test coverage detected