Home
last modified time | relevance | path

Searched refs:has_task (Results 1 – 13 of 13) 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()
194 if (!parsed_name->has_task) { in CompleteName()
196 parsed_name->has_task = true; in CompleteName()
221 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
248 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()
272 if (less_specific.has_task && in IsSpecification()
273 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()
296 if (a.has_task && b.has_task && (a.task != b.task)) { in AreCompatibleDevNames()
318 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) &&
85 bool has_task = false; member
119 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()
112 EXPECT_TRUE(p.has_task); in TEST()
128 EXPECT_TRUE(p.has_task); in TEST()
142 EXPECT_FALSE(p.has_task); in TEST()
154 EXPECT_FALSE(p.has_task); in TEST()
166 EXPECT_FALSE(p.has_task); in TEST()
178 EXPECT_FALSE(p.has_task); in TEST()
190 EXPECT_FALSE(p.has_task); in TEST()
200 EXPECT_FALSE(p.has_task); in TEST()
212 EXPECT_FALSE(p.has_task); in TEST()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dinline_function_utils.cc246 if (caller_parsed_device_.has_task && !ndef_parsed_device.has_task) { in BodyNodeDevice()
247 ndef_parsed_device.has_task = caller_parsed_device_.has_task; in BodyNodeDevice()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcustom_device_op_handler.cc28 !parsed.has_job || !parsed.has_replica || !parsed.has_task || in RegisterCustomDevice()
Deager_operation.cc467 !device_parsed_name_.has_task) in IsLocal()
Dcontext.cc1189 (!pn.has_task || !pf.has_task || pn.task == pf.task) && in FilterDevicesForRemoteWorkers()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc106 !worker_name_parsed.has_task) { in NewRemoteDevices()
Dmaster.cc335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
Dmaster_session.cc1358 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc180 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc333 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc2491 if (var_device.has_job && var_device.has_replica && var_device.has_task && in FindVariableInputs()
2807 TF_RET_CHECK(parsed_device.has_task); in CreateOrGetPerHostVariableCopy()