Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py260 self.should_stop = False
280 if self.should_stop:
593 self.assertFalse(wrapped_sess.should_stop())
595 self.assertTrue(wrapped_sess.should_stop())
601 self.assertFalse(wrapped_sess.should_stop())
602 self.assertFalse(wrapped_sess.should_stop())
603 self.assertFalse(wrapped_sess.should_stop())
604 self.assertTrue(wrapped_sess.should_stop())
611 self.assertFalse(wrapped_sess1.should_stop())
612 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_loops.py60 while not supervisor.should_stop():
Dbasic_session_run_hooks_test.py161 self.assertFalse(mon_sess.should_stop())
164 self.assertFalse(mon_sess.should_stop())
167 self.assertTrue(mon_sess.should_stop())
171 self.assertTrue(mon_sess.should_stop())
185 self.assertFalse(mon_sess.should_stop())
188 self.assertFalse(mon_sess.should_stop())
191 self.assertFalse(mon_sess.should_stop())
194 self.assertTrue(mon_sess.should_stop())
198 self.assertTrue(mon_sess.should_stop())
212 self.assertFalse(mon_sess.should_stop())
[all …]
Dcoordinator.py257 def should_stop(self): member in Coordinator
488 while not self._coord.should_stop():
Dmonitored_session.py873 def should_stop(self): member in _MonitoredSession
874 return self._sess is None or self._sess.should_stop()
1165 def should_stop(self): member in _WrappedSession
1176 return self._wrapped_is_stoppable and self._sess.should_stop()
1351 return self._coord.should_stop()
1422 if self.should_stop():
/external/tensorflow/tensorflow/core/kernels/
Dpooling_ops_3d_gpu.cu.cc55 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCDHW() local
60 for (int p = pstart; p < pend && !should_stop; ++p) { in MaxPoolGradBackwardNoMaskNCDHW()
61 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCDHW()
62 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCDHW()
66 should_stop = true; in MaxPoolGradBackwardNoMaskNCDHW()
107 bool should_stop = false; in MaxPoolGradBackwardNoMaskNDHWC() local
112 for (int p = pstart; p < pend && !should_stop; ++p) { in MaxPoolGradBackwardNoMaskNDHWC()
113 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNDHWC()
114 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNDHWC()
118 should_stop = true; in MaxPoolGradBackwardNoMaskNDHWC()
Dmaxpooling_op_gpu.cu.cc292 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCHW() local
296 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCHW()
297 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCHW()
301 should_stop = true; in MaxPoolGradBackwardNoMaskNCHW()
334 bool should_stop = false; in MaxPoolGradBackwardNoMaskNHWC() local
338 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNHWC()
339 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNHWC()
343 should_stop = true; in MaxPoolGradBackwardNoMaskNHWC()
Dpooling_ops_3d.cc625 bool should_stop = false; in launch() local
626 for (int p = p_start; p < p_end && !should_stop; ++p) { in launch()
627 for (int h = h_start; h < h_end && !should_stop; ++h) { in launch()
628 for (int w = w_start; w < w_end && !should_stop; ++w) { in launch()
636 should_stop = true; in launch()
/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()
Dconnector.cc335 bool Connector::SyncWatch(const bool* should_stop) { in SyncWatch() argument
344 return sync_watcher_->SyncWatch(should_stop); in SyncWatch()
/external/autotest/client/cros/
Ddark_resume_listener.py92 def stop_resuspend(self, should_stop): argument
98 self._stop_resuspend = 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);
Dconnector.h177 bool SyncWatch(const bool* should_stop);
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_strategy.py151 while not all_done and not coord.should_stop():
159 if coord.should_stop():
167 if coord.should_stop():
170 if coord.should_stop():
969 if self.coord.should_stop():
1072 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"
Dtensorflow.train.-coordinator.pbtxt34 name: "should_stop"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-coordinator.pbtxt34 name: "should_stop"

12