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

Function DefaultAttrStr

tensorflow/core/framework/op_def_util.cc:466–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466string DefaultAttrStr(const OpDef::AttrDef& attr) {
467 if (!attr.has_default_value()) return "no default";
468 return SummarizeAttrValue(attr.default_value());
469}
470
471bool HigherMinimum(const OpDef::AttrDef& old_attr,
472 const OpDef::AttrDef& new_attr) {

Callers 1

Calls 3

SummarizeAttrValueFunction · 0.85
has_default_valueMethod · 0.80
default_valueMethod · 0.45

Tested by

no test coverage detected