MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AllowedStr

Function AllowedStr

tensorflow/core/framework/op_def_util.cc:461–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

OpDefCompatibleFunction · 0.85

Calls 1

SummarizeAttrValueFunction · 0.85

Tested by

no test coverage detected