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

Method Stop

tensorflow/cc/training/prefetch_runner.cc:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void PrefetchRunner::Stop() {
66 if (coord_)
67 coord_->WaitForStop();
68
69 sess_->Run({}, {}, {params_.cancel_op()}, nullptr);
70 is_running_ = false;
71}
72
73Status PrefetchRunner::Join() {
74 for (size_t i = 0; i < thread_pool_.size(); i++) {

Callers

nothing calls this directly

Calls 3

WaitForStopMethod · 0.80
cancel_opMethod · 0.80
RunMethod · 0.45

Tested by

no test coverage detected