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

Method should_stop

tensorflow/python/training/coordinator.py:257–263  ·  view source on GitHub ↗

Check if stop was requested. Returns: True if a stop was requested.

(self)

Source from the content-addressed store, hash-verified

255 self._stop_event.clear()
256
257 def should_stop(self):
258 """Check if stop was requested.
259
260 Returns:
261 True if a stop was requested.
262 """
263 return self._stop_event.is_set()
264
265 @contextlib.contextmanager
266 def stop_on_exception(self):

Calls

no outgoing calls