Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py244 self.should_stop = False
264 if self.should_stop:
547 self.assertFalse(wrapped_sess.should_stop())
549 self.assertTrue(wrapped_sess.should_stop())
555 self.assertFalse(wrapped_sess.should_stop())
556 self.assertFalse(wrapped_sess.should_stop())
557 self.assertFalse(wrapped_sess.should_stop())
558 self.assertTrue(wrapped_sess.should_stop())
565 self.assertFalse(wrapped_sess1.should_stop())
566 self.assertFalse(wrapped_sess1.should_stop())
[all …]
Dsupervisor_test.py117 self.assertTrue(sv.should_stop())
134 self.assertTrue(sv.should_stop())
152 self.assertTrue(sv.should_stop())
282 while not sv.should_stop():
302 while not sv.should_stop():
323 if sv.should_stop():
895 self.assertTrue(sv.should_stop())
900 self.assertFalse(sv.should_stop())
903 self.assertTrue(sv.should_stop())
914 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())
Dbasic_session_run_hooks_test.py162 self.assertFalse(mon_sess.should_stop())
165 self.assertFalse(mon_sess.should_stop())
168 self.assertTrue(mon_sess.should_stop())
172 self.assertTrue(mon_sess.should_stop())
186 self.assertFalse(mon_sess.should_stop())
189 self.assertFalse(mon_sess.should_stop())
192 self.assertFalse(mon_sess.should_stop())
195 self.assertTrue(mon_sess.should_stop())
199 self.assertTrue(mon_sess.should_stop())
213 self.assertFalse(mon_sess.should_stop())
[all …]
Dmonitored_session.py833 def should_stop(self): member in _MonitoredSession
834 return self._sess is None or self._sess.should_stop()
1122 def should_stop(self): member in _WrappedSession
1133 return self._wrapped_is_stoppable and self._sess.should_stop()
1308 return self._coord.should_stop()
1379 if self.should_stop():
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.cc284 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCHW() local
288 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCHW()
289 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCHW()
293 should_stop = true; in MaxPoolGradBackwardNoMaskNCHW()
325 bool should_stop = false; in MaxPoolGradBackwardNoMaskNHWC() local
329 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNHWC()
330 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNHWC()
334 should_stop = true; in MaxPoolGradBackwardNoMaskNHWC()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsequence_local_sync_event_watcher.cc141 const bool* should_stop) { in SyncWatch() argument
156 const bool* stop_flags[] = {should_stop, in SyncWatch()
280 bool SequenceLocalSyncEventWatcher::SyncWatch(const bool* should_stop) { in SyncWatch() argument
283 this, registration_->watcher_state(), should_stop); in SyncWatch()
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.cc122 bool SyncHandleRegistry::Wait(const bool* should_stop[], size_t count) { in Wait() argument
132 if (*should_stop[i]) in Wait()
/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
768 while not sv.should_stop():
769 total_loss, should_stop = train_step_fn(
771 if should_stop:
/external/autotest/client/cros/
Ddark_resume_listener.py63 def stop_resuspend(self, should_stop): argument
69 self._stop_resuspend = should_stop
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dlearning.py160 total_loss, should_stop = train_step_fn(sess, train_op, global_step,
163 return total_loss, should_stop
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions.py121 should_stop = False
124 should_stop = should_stop or induce_stop
125 return outputs, should_stop
335 outputs, should_stop = _run_with_monitors(
347 if should_stop:
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_endpoint_controller.h32 virtual bool SyncWatch(const bool* should_stop) = 0;
Dsequence_local_sync_event_watcher.h53 bool SyncWatch(const bool* should_stop);
Dsync_handle_watcher.h49 bool SyncWatch(const bool* should_stop);
Dsync_handle_registry.h58 bool Wait(const bool* should_stop[], size_t count);
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_strategy.py143 while not all_done and not coord.should_stop():
151 if coord.should_stop():
159 if coord.should_stop():
162 if coord.should_stop():
867 if self.coord.should_stop():
955 if t.coord.should_stop():
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-monitored-session.pbtxt31 name: "should_stop"
Dtensorflow.train.-singular-monitored-session.pbtxt35 name: "should_stop"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-coordinator.pbtxt34 name: "should_stop"
/external/tensorflow/tensorflow/contrib/hooks/
DREADME.md20 while not sess.should_stop():

123