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

Method StopRunners

tensorflow/cc/training/prefetch_runner.cc:253–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253Status PrefetchRunnerMgr::StopRunners(std::string graph_key, Session* sess) {
254 if (prefetch_runners_.count(sess) == 0)
255 return Status(errors::NotFound("No PrefechRunners run in Session"));
256
257 coords_[sess]->RequestStop();
258 for (auto runner : prefetch_runners_[sess])
259 runner->Join();
260
261 coords_.erase(sess);
262 prefetch_runners_.erase(sess);
263
264 return Status::OK();
265}
266
267} // end of namespace tensorflow

Callers 1

TF_StopPrefetchRunnersFunction · 0.80

Calls 6

NotFoundFunction · 0.85
RequestStopMethod · 0.80
StatusClass · 0.50
countMethod · 0.45
JoinMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected