Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc126 p->has_task = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
127 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()
189 if (!parsed_name->has_task) { in CompleteName()
191 parsed_name->has_task = true; in CompleteName()
216 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
243 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()
267 if (less_specific.has_task && in IsSpecification()
268 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()
291 if (a.has_task && b.has_task && (a.task != b.task)) { in AreCompatibleDevNames()
313 if (less_specific.has_task) { 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
110 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc94 EXPECT_TRUE(p.has_task); in TEST()
110 EXPECT_TRUE(p.has_task); in TEST()
126 EXPECT_TRUE(p.has_task); in TEST()
140 EXPECT_FALSE(p.has_task); in TEST()
152 EXPECT_FALSE(p.has_task); in TEST()
164 EXPECT_FALSE(p.has_task); in TEST()
176 EXPECT_FALSE(p.has_task); in TEST()
188 EXPECT_FALSE(p.has_task); in TEST()
198 EXPECT_FALSE(p.has_task); in TEST()
210 EXPECT_FALSE(p.has_task); in TEST()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc101 !worker_name_parsed.has_task) { in NewRemoteDevices()
Dmaster.cc335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
Dmaster_session.cc1336 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Deval_util.cc72 if (parsed_name.has_task) parsed_name.task = 0; in ForceUseLocalhostDevice()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_operation.cc153 !device_parsed_name_.has_task) in IsLocal()
Dcontext.cc902 (!pn.has_task || !pf.has_task || pn.task == pf.task) && in FilterDevicesForRemoteWorkers()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc155 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc332 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.cc1631 if (caller_parsed_device_.has_task) { in BodyNodeDevice()
1632 ndef_parsed_device.has_task = caller_parsed_device_.has_task; in BodyNodeDevice()