Home | History | Annotate | Download | only in training

Lines Matching defs:should_stop

557         unless a stop is requested.  In that case, the next `should_stop` call
575 while not session.should_stop():
637 """Exit the training loop by causing `should_stop()` to return `True`.
646 def should_stop(self):
647 return self._sess is None or self._sess.should_stop()
726 while not sess.should_stop():
822 while not sess.should_stop():
918 def should_stop(self):
929 return self._wrapped_is_stoppable and self._sess.should_stop()
1011 # `should_stop` should return True instead of raising an exception.
1080 return self._coord.should_stop()
1129 marked as needing to stop and its `should_stop()` method will now return
1151 if self.should_stop():
1152 raise RuntimeError('Run called even after should_stop requested.')