Home
last modified time | relevance | path

Searched refs:has_job (Results 1 – 15 of 15) 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()
181 if (!parsed_name->has_job) { in CompleteName()
183 parsed_name->has_job = true; in CompleteName()
215 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
241 if (pn.has_job) strings::StrAppend(&buf, "/job:", pn.job); in ParsedNameToString()
258 if (less_specific.has_job && in IsSpecification()
259 (!more_specific.has_job || (less_specific.job != more_specific.job))) { in IsSpecification()
285 if (a.has_job && b.has_job && (a.job != b.job)) { in AreCompatibleDevNames()
305 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) &&
77 bool has_job = false; member
110 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()
108 EXPECT_TRUE(p.has_job); in TEST()
124 EXPECT_TRUE(p.has_job); in TEST()
138 EXPECT_FALSE(p.has_job); in TEST()
150 EXPECT_FALSE(p.has_job); in TEST()
162 EXPECT_FALSE(p.has_job); in TEST()
174 EXPECT_FALSE(p.has_job); in TEST()
186 EXPECT_FALSE(p.has_job); in TEST()
196 EXPECT_FALSE(p.has_job); in TEST()
208 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.cc100 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
Dtest_utils.h148 CHECK(device_name.has_job); in ListWorkersInJob()
Dmaster_session.cc1336 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Deval_util.cc70 if (parsed_name.has_job) parsed_name.job = "localhost"; in ForceUseLocalhostDevice()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_operation.cc152 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
Dcontext.cc900 if ((!pn.has_job || !pf.has_job || pn.job == pf.job) && 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/compiler/tf2tensorrt/convert/
Dtrt_optimization_pass.cc175 << " has_id: " << pname.has_id << " has_job: " << pname.has_job in PrintDebugInfo()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc325 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()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.cc1621 if (caller_parsed_device_.has_job) { in BodyNodeDevice()
1622 ndef_parsed_device.has_job = caller_parsed_device_.has_job; in BodyNodeDevice()