Home
last modified time | relevance | path

Searched refs:has_job (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc112 p->has_job = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
113 if (p->has_job && !ConsumeJobName(&fullname, &p->job)) { in ParseFullName()
186 if (!parsed_name->has_job) { in CompleteName()
188 parsed_name->has_job = true; in CompleteName()
220 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
246 if (pn.has_job) strings::StrAppend(&buf, "/job:", pn.job); in ParsedNameToString()
263 if (less_specific.has_job && in IsSpecification()
264 (!more_specific.has_job || (less_specific.job != more_specific.job))) { in IsSpecification()
290 if (a.has_job && b.has_job && (a.job != b.job)) { in AreCompatibleDevNames()
310 if (less_specific.has_job) { in EnsureSpecification()
[all …]
Ddevice_name_utils.h54 has_job = false; in Clear()
67 return (has_job ? (other.has_job && job == other.job) : !other.has_job) &&
81 bool has_job = false; member
119 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc92 EXPECT_TRUE(p.has_job); in TEST()
110 EXPECT_TRUE(p.has_job); in TEST()
126 EXPECT_TRUE(p.has_job); in TEST()
140 EXPECT_FALSE(p.has_job); in TEST()
152 EXPECT_FALSE(p.has_job); in TEST()
164 EXPECT_FALSE(p.has_job); in TEST()
176 EXPECT_FALSE(p.has_job); in TEST()
188 EXPECT_FALSE(p.has_job); in TEST()
198 EXPECT_FALSE(p.has_job); in TEST()
210 EXPECT_FALSE(p.has_job); in TEST()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_helpers.cc61 TF_RET_CHECK(parsed_name.has_job); in GetSystemDevice()
100 if (system_spec.has_job) { in GetHostSystemDevices()
121 TF_RET_CHECK((*host_system_devices)[0]->parsed_name().has_job); in GetHostSystemDevices()
126 TF_RET_CHECK(parsed_name.has_job); in GetHostSystemDevices()
Ddistributed_tpu_rewrite_pass.cc2491 if (var_device.has_job && var_device.has_replica && var_device.has_task && in FindVariableInputs()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc189 all_filters_have_job = all_filters_have_job && filter.has_job; in DeviceFinder()
190 if (filter.has_job) { in DeviceFinder()
333 return (!x.has_job || !y.has_job || x.job == y.job) && in Intersects()
Dremote_device.cc105 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
Dtest_utils.h148 CHECK(device_name.has_job); in ListWorkersInJob()
Dmaster_session.cc1358 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
/external/tensorflow/tensorflow/core/common_runtime/
Dinline_function_utils.cc236 if (caller_parsed_device_.has_job && !ndef_parsed_device.has_job) { in BodyNodeDevice()
237 ndef_parsed_device.has_job = caller_parsed_device_.has_job; 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.cc466 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
Dcontext.cc1187 if ((!pn.has_job || !pf.has_job || pn.job == pf.job) && in FilterDevicesForRemoteWorkers()
/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.cc326 if (!parsed.has_job || parsed.job != job_id_) { in TranslateTask()
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc407 const string jobname = parsed_name.has_job ? parsed_name.job : ""; in GetDeviceClassForNonChannelDevice()