MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ParseServers

Method ParseServers

tensorflow/contrib/star/star_server_base_lib.cc:357–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357size_t StarServerBase::ParseServers(
358 const WorkerCacheFactoryOptions& options) {
359 size_t hosts_count = 0;
360 for (const auto& job : options.cluster_def->job()) {
361 hosts_count += job.tasks().size();
362 }
363 return hosts_count;
364}
365
366Status StarServerBase::Start() {
367 mutex_lock l(mu_);

Callers

nothing calls this directly

Calls 2

jobMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected