Searched refs:attr_shared_name (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | resource_mgr_test.cc | 167 const string& attr_shared_name, in ComputePolicy() argument 176 if (attr_shared_name != "none") { in ComputePolicy() 177 AddNodeAttr("shared_name", attr_shared_name, &ndef); in ComputePolicy() 184 string Policy(const string& attr_container, const string& attr_shared_name, in Policy() argument 187 TF_CHECK_OK(ComputePolicy(attr_container, attr_shared_name, in Policy() 208 Status WrongPolicy(const string& attr_container, const string& attr_shared_name, in WrongPolicy() argument 211 auto s = ComputePolicy(attr_container, attr_shared_name, in WrongPolicy()
|
D | resource_mgr.cc | 285 string attr_shared_name; in Init() local 286 TF_RETURN_IF_ERROR(GetNodeAttr(ndef, "shared_name", &attr_shared_name)); in Init() 287 if (!attr_shared_name.empty() && (attr_shared_name[0] == '_')) { in Init() 289 attr_shared_name); in Init() 296 if (!attr_shared_name.empty()) { in Init() 297 name_ = attr_shared_name; in Init()
|