Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc122 p->has_job = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
123 if (p->has_job && !ConsumeJobName(&fullname, &p->job)) { in ParseFullName()
191 if (!parsed_name->has_job) { in CompleteName()
193 parsed_name->has_job = true; in CompleteName()
225 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
251 if (pn.has_job) strings::StrAppend(&buf, "/job:", pn.job); in ParsedNameToString()
268 if (less_specific.has_job && in IsSpecification()
269 (!more_specific.has_job || (less_specific.job != more_specific.job))) { in IsSpecification()
294 if (less_specific.has_job) { in EnsureSpecification()
295 more_specific->has_job = true; 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) &&
77 bool has_job = false; member
102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc91 EXPECT_TRUE(p.has_job); in TEST()
107 EXPECT_TRUE(p.has_job); in TEST()
123 EXPECT_TRUE(p.has_job); in TEST()
137 EXPECT_FALSE(p.has_job); in TEST()
149 EXPECT_FALSE(p.has_job); in TEST()
161 EXPECT_FALSE(p.has_job); in TEST()
173 EXPECT_FALSE(p.has_job); in TEST()
185 EXPECT_FALSE(p.has_job); in TEST()
195 EXPECT_FALSE(p.has_job); in TEST()
207 EXPECT_FALSE(p.has_job); in TEST()
/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.cc83 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
Dtest_utils.h148 CHECK(device_name.has_job); in ListWorkersInJob()
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/compiler/tf2tensorrt/convert/
Dtrt_optimization_pass.cc177 << " has_id: " << pname.has_id << " has_job: " << pname.has_job in PrintDebugInfo()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc275 if (!parsed.has_job || parsed.job != job_id_) { in TranslateTask()
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc424 const string jobname = parsed_name.has_job ? parsed_name.job : ""; in GetDeviceClassForNonChannelDevice()