Home
last modified time | relevance | path

Searched refs:attr_shared_name (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc165 const string& attr_shared_name, in ComputePolicy() argument
174 if (attr_shared_name != "none") { in ComputePolicy()
175 AddNodeAttr("shared_name", attr_shared_name, &ndef); in ComputePolicy()
182 string Policy(const string& attr_container, const string& attr_shared_name, in Policy() argument
185 TF_CHECK_OK(ComputePolicy(attr_container, attr_shared_name, in Policy()
204 Status WrongPolicy(const string& attr_container, const string& attr_shared_name, in WrongPolicy() argument
207 auto s = ComputePolicy(attr_container, attr_shared_name, in WrongPolicy()
Dresource_mgr.cc262 string attr_shared_name; in Init() local
263 TF_RETURN_IF_ERROR(GetNodeAttr(ndef, "shared_name", &attr_shared_name)); in Init()
264 if (!attr_shared_name.empty() && (attr_shared_name[0] == '_')) { in Init()
266 attr_shared_name); in Init()
273 if (!attr_shared_name.empty()) { in Init()
274 name_ = attr_shared_name; in Init()