| 459 | } |
| 460 | |
| 461 | string AllowedStr(const OpDef::AttrDef& attr) { |
| 462 | if (!attr.has_allowed_values()) return "no restriction"; |
| 463 | return SummarizeAttrValue(attr.allowed_values()); |
| 464 | } |
| 465 | |
| 466 | string DefaultAttrStr(const OpDef::AttrDef& attr) { |
| 467 | if (!attr.has_default_value()) return "no default"; |
no test coverage detected