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

Method AllRunnersStopped

tensorflow/cc/training/coordinator.cc:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool Coordinator::AllRunnersStopped() {
52 mutex_lock l(runners_lock_);
53 for (const auto& runner : runners_) {
54 if (runner->IsRunning()) {
55 return false;
56 }
57 }
58 return true;
59}
60
61Status Coordinator::RequestStop() {
62 mutex_lock l(mu_);

Callers 2

CloseSessionMethod · 0.80
TESTFunction · 0.80

Calls 1

IsRunningMethod · 0.45

Tested by 1

TESTFunction · 0.64