Home
last modified time | relevance | path

Searched refs:has_task (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc136 p->has_task = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
137 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()
199 if (!parsed_name->has_task) { in CompleteName()
201 parsed_name->has_task = true; in CompleteName()
226 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
253 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()
277 if (less_specific.has_task && in IsSpecification()
278 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()
302 if (less_specific.has_task) { in EnsureSpecification()
303 more_specific->has_task = true; in EnsureSpecification()
[all …]
Ddevice_name_utils.h56 has_task = false; in Clear()
70 (has_task ? (other.has_task && task == other.task)
71 : !other.has_task) &&
81 bool has_task = false; member
102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc93 EXPECT_TRUE(p.has_task); in TEST()
109 EXPECT_TRUE(p.has_task); in TEST()
125 EXPECT_TRUE(p.has_task); in TEST()
139 EXPECT_FALSE(p.has_task); in TEST()
151 EXPECT_FALSE(p.has_task); in TEST()
163 EXPECT_FALSE(p.has_task); in TEST()
175 EXPECT_FALSE(p.has_task); in TEST()
187 EXPECT_FALSE(p.has_task); in TEST()
197 EXPECT_FALSE(p.has_task); in TEST()
209 EXPECT_FALSE(p.has_task); in TEST()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc84 !worker_name_parsed.has_task) { in NewRemoteDevices()
Dmaster.cc335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
Dmaster_session.cc1275 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc142 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc282 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()