Searched refs:attr_names (Results 1 – 4 of 4) sorted by relevance
125 std::vector<string> attr_names; in HashNodeDef() local126 attr_names.reserve(node.attr().size()); in HashNodeDef()128 attr_names.push_back(attr.first); in HashNodeDef()130 std::sort(attr_names.begin(), attr_names.end()); in HashNodeDef()132 for (const string& attr_name : attr_names) { in HashNodeDef()
57 std::vector<string> attr_names; in SummarizeAttrsHelper() local58 attr_names.reserve(attrs.size()); in SummarizeAttrsHelper()60 attr_names.push_back(attr.first); in SummarizeAttrsHelper()62 std::sort(attr_names.begin(), attr_names.end()); in SummarizeAttrsHelper()64 for (const string& attr_name : attr_names) { in SummarizeAttrsHelper()
75 attr_names = sorted([a.name for a in attrs])76 return [(attr_name, getattr(obj, attr_name)) for attr_name in attr_names]
8829 std::set<std::string> attr_names; member8840 auto iter = builder->attr_names.insert(attr_name).first; in TF_AttrBuilderSetType()8846 auto iter = builder->attr_names.insert(attr_name).first; in TF_AttrBuilderSetTypeList()