Home
last modified time | relevance | path

Searched refs:has_replica (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc129 p->has_replica = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
130 if (p->has_replica && !ConsumeNumber(&fullname, &p->replica)) { in ParseFullName()
195 if (!parsed_name->has_replica) { in CompleteName()
197 parsed_name->has_replica = true; in CompleteName()
225 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()
252 if (pn.has_replica) strings::StrAppend(&buf, "/replica:", pn.replica); in ParsedNameToString()
272 if (less_specific.has_replica && in IsSpecification()
273 (!more_specific.has_replica || in IsSpecification()
298 if (less_specific.has_replica) { in EnsureSpecification()
299 more_specific->has_replica = true; in EnsureSpecification()
[all …]
Ddevice_name_utils.h55 has_replica = false; in Clear()
68 (has_replica ? (other.has_replica && replica == other.replica)
69 : !other.has_replica) &&
79 bool has_replica = false; member
102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc92 EXPECT_TRUE(p.has_replica); in TEST()
108 EXPECT_TRUE(p.has_replica); in TEST()
124 EXPECT_TRUE(p.has_replica); in TEST()
138 EXPECT_TRUE(p.has_replica); in TEST()
150 EXPECT_TRUE(p.has_replica); in TEST()
162 EXPECT_TRUE(p.has_replica); in TEST()
174 EXPECT_TRUE(p.has_replica); in TEST()
186 EXPECT_FALSE(p.has_replica); in TEST()
196 EXPECT_TRUE(p.has_replica); in TEST()
208 EXPECT_TRUE(p.has_replica); in TEST()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc83 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
Dmaster.cc334 (!x.has_replica || !y.has_replica || x.replica == y.replica) && in Intersects()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc142 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_channel.cc278 if (!parsed.has_replica || parsed.replica != 0) { in TranslateTask()