Home
last modified time | relevance | path

Searched refs:should_stop (Results 1 – 25 of 58) sorted by relevance

123

/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py240 self.should_stop = False
260 if self.should_stop:
374 self.assertFalse(wrapped_sess.should_stop())
376 self.assertTrue(wrapped_sess.should_stop())
381 self.assertFalse(wrapped_sess.should_stop())
382 self.assertFalse(wrapped_sess.should_stop())
383 self.assertFalse(wrapped_sess.should_stop())
384 self.assertTrue(wrapped_sess.should_stop())
390 self.assertFalse(wrapped_sess1.should_stop())
391 self.assertFalse(wrapped_sess1.should_stop())
[all …]
Dsupervisor_test.py115 self.assertTrue(sv.should_stop())
132 self.assertTrue(sv.should_stop())
150 self.assertTrue(sv.should_stop())
280 while not sv.should_stop():
300 while not sv.should_stop():
321 if sv.should_stop():
882 self.assertTrue(sv.should_stop())
887 self.assertFalse(sv.should_stop())
890 self.assertTrue(sv.should_stop())
901 self.assertTrue(sv.should_stop())
[all …]
Dcoordinator_test.py76 self.assertFalse(coord.should_stop())
79 self.assertTrue(coord.should_stop())
84 self.assertFalse(coord.should_stop())
91 self.assertFalse(coord.should_stop())
96 self.assertTrue(coord.should_stop())
Dmonitored_session.py646 def should_stop(self): member in _MonitoredSession
647 return self._sess is None or self._sess.should_stop()
918 def should_stop(self): member in _WrappedSession
929 return self._wrapped_is_stoppable and self._sess.should_stop()
1080 return self._coord.should_stop()
1151 if self.should_stop():
Dbasic_session_run_hooks_test.py148 self.assertFalse(mon_sess.should_stop())
151 self.assertFalse(mon_sess.should_stop())
154 self.assertTrue(mon_sess.should_stop())
158 self.assertTrue(mon_sess.should_stop())
172 self.assertFalse(mon_sess.should_stop())
175 self.assertFalse(mon_sess.should_stop())
178 self.assertFalse(mon_sess.should_stop())
181 self.assertTrue(mon_sess.should_stop())
185 self.assertTrue(mon_sess.should_stop())
199 self.assertFalse(mon_sess.should_stop())
[all …]
Dbasic_loops.py56 while not supervisor.should_stop():
Dcoordinator.py257 def should_stop(self): member in Coordinator
488 while not self._coord.should_stop():
/external/tensorflow/tensorflow/core/kernels/
Dpooling_ops_3d_gpu.cu.cc54 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCDHW() local
59 for (int p = pstart; p < pend && !should_stop; ++p) { in MaxPoolGradBackwardNoMaskNCDHW()
60 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCDHW()
61 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCDHW()
65 should_stop = true; in MaxPoolGradBackwardNoMaskNCDHW()
105 bool should_stop = false; in MaxPoolGradBackwardNoMaskNDHWC() local
110 for (int p = pstart; p < pend && !should_stop; ++p) { in MaxPoolGradBackwardNoMaskNDHWC()
111 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNDHWC()
112 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNDHWC()
116 should_stop = true; in MaxPoolGradBackwardNoMaskNDHWC()
Dmaxpooling_op_gpu.cu.cc281 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCHW() local
285 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCHW()
286 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCHW()
290 should_stop = true; in MaxPoolGradBackwardNoMaskNCHW()
322 bool should_stop = false; in MaxPoolGradBackwardNoMaskNHWC() local
326 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNHWC()
327 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNHWC()
331 should_stop = true; in MaxPoolGradBackwardNoMaskNHWC()
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning.py521 should_stop = sess.run(train_step_kwargs['should_stop'])
523 should_stop = False
525 return total_loss, should_stop
767 while not sv.should_stop():
768 total_loss, should_stop = train_step_fn(
770 if should_stop:
/external/libmojo/mojo/public/cpp/bindings/lib/
Dsync_handle_watcher.cc36 bool SyncHandleWatcher::SyncWatch(const bool* should_stop) { in SyncWatch() argument
47 const bool* should_stop_array[] = {should_stop, &destroyed->data}; in SyncWatch()
Dsync_handle_registry.cc60 bool SyncHandleRegistry::WatchAllHandles(const bool* should_stop[], in WatchAllHandles() argument
72 if (*should_stop[i]) in WatchAllHandles()
Dconnector.cc172 bool Connector::SyncWatch(const bool* should_stop) { in SyncWatch() argument
181 return sync_watcher_->SyncWatch(should_stop); in SyncWatch()
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dlearning.py157 total_loss, should_stop = train_step_fn(sess, train_op, global_step,
160 return total_loss, should_stop
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions.py115 should_stop = False
118 should_stop = should_stop or induce_stop
119 return outputs, should_stop
329 outputs, should_stop = _run_with_monitors(
341 if should_stop:
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dthreading_and_queues.md117 while not sess.should_stop():
156 * @{tf.train.Coordinator.should_stop}: returns `True` if the threads should stop.
162 `should_stop()` returns `True`.
165 `request_stop()` and the other threads will stop as `should_stop()` will then
175 while not coord.should_stop():
236 if coord.should_stop():
260 if coord.should_stop():
/external/libmojo/mojo/public/cpp/bindings/
Dinterface_endpoint_controller.h32 virtual bool SyncWatch(const bool* should_stop) = 0;
Dsync_handle_watcher.h49 bool SyncWatch(const bool* should_stop);
Dsync_handle_registry.h41 bool WatchAllHandles(const bool* should_stop[], size_t count);
Dconnector.h141 bool SyncWatch(const bool* should_stop); in NON_EXPORTED_BASE()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.train.-monitored-session.pbtxt31 name: "should_stop"
Dtensorflow.train.-singular-monitored-session.pbtxt35 name: "should_stop"
Dtensorflow.train.-coordinator.pbtxt34 name: "should_stop"
/external/tensorflow/tensorflow/contrib/hooks/
DREADME.md20 while not sess.should_stop():
/external/tensorflow/tensorflow/contrib/kfac/examples/
Dconvnet.py211 while not sess.should_stop():
304 while not sess.should_stop():

123