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

Method request_stop

tensorflow/python/training/supervisor.py:849–859  ·  view source on GitHub ↗

Request that the coordinator stop the threads. See `Coordinator.request_stop()`. Args: ex: Optional `Exception`, or Python `exc_info` tuple as returned by `sys.exc_info()`. If this is the first call to `request_stop()` the corresponding exception is recorded and re-r

(self, ex=None)

Source from the content-addressed store, hash-verified

847 self._graph_added_to_summary = False
848
849 def request_stop(self, ex=None):
850 """Request that the coordinator stop the threads.
851
852 See `Coordinator.request_stop()`.
853
854 Args:
855 ex: Optional `Exception`, or Python `exc_info` tuple as returned by
856 `sys.exc_info()`. If this is the first call to `request_stop()` the
857 corresponding exception is recorded and re-raised from `join()`.
858 """
859 self._coord.request_stop(ex=ex)
860
861 def should_stop(self):
862 """Check if the coordinator was told to stop.

Callers 15

trainFunction · 0.95
managed_sessionMethod · 0.95
after_runMethod · 0.45
after_runMethod · 0.45
after_runMethod · 0.45
after_runMethod · 0.45
tearDownMethod · 0.45
after_runMethod · 0.45
after_runMethod · 0.45
after_runMethod · 0.45
test_preemption_retryMethod · 0.45
train_fnMethod · 0.45

Calls

no outgoing calls