Home
last modified time | relevance | path

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

123

/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 …]
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())
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():
893 self.assertTrue(sv.should_stop())
898 self.assertFalse(sv.should_stop())
901 self.assertTrue(sv.should_stop())
912 self.assertTrue(sv.should_stop())
[all …]
/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.cc249 bool should_stop = false; in MaxPoolGradBackwardNoMaskNCHW() local
253 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNCHW()
254 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNCHW()
258 should_stop = true; in MaxPoolGradBackwardNoMaskNCHW()
291 bool should_stop = false; in MaxPoolGradBackwardNoMaskNHWC() local
295 for (int h = hstart; h < hend && !should_stop; ++h) { in MaxPoolGradBackwardNoMaskNHWC()
296 for (int w = wstart; w < wend && !should_stop; ++w) { in MaxPoolGradBackwardNoMaskNHWC()
300 should_stop = true; in MaxPoolGradBackwardNoMaskNHWC()
/external/llvm-project/lldb/test/API/functionalities/conditional_break/
Dconditional_break.py19 should_stop = True
24 should_stop = True
26 should_stop = False
29 return should_stop
/external/llvm-project/lldb/unittests/Process/
DProcessEventDataTest.cpp128 ThreadSP CreateThread(ProcessSP &process_sp, bool should_stop, in CreateThread() argument
139 should_stop; in CreateThread()
217 bool should_stop = in TEST_F() local
219 ASSERT_TRUE(should_stop == true && found_valid_stopinfo == true); in TEST_F()
226 should_stop = event_data_sp->ShouldStop(event_sp.get(), found_valid_stopinfo); in TEST_F()
227 ASSERT_TRUE(should_stop == false && found_valid_stopinfo == false); in TEST_F()
255 should_stop = event_data_sp->ShouldStop(event_sp.get(), found_valid_stopinfo); in TEST_F()
256 ASSERT_TRUE(should_stop == false && found_valid_stopinfo == true); in TEST_F()
/external/llvm-project/lldb/examples/python/
Dscripted_step.py115 def should_stop(self, event): member in SimpleStep
141 def should_stop(self, event): member in StepWithPlan
177 def should_stop(self, event): member in StepCheckingCondition
234 def should_stop(self, event): member in FinishPrintAndContinue
/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/llvm-project/lldb/test/API/functionalities/step_scripted/
DSteps.py11 def should_stop(self, event): member in StepWithChild
67 def should_stop(self, event): member in StepUntil
93 def should_stop(self, event): member in StepReportsStopOthers
/external/llvm-project/lldb/source/Target/
DThreadPlanPython.cpp82 bool should_stop = true; in ShouldStop() local
87 should_stop = script_interp->ScriptedThreadPlanShouldStop( in ShouldStop()
93 return should_stop; in ShouldStop()
DUnixSignals.cpp188 bool &should_stop, in GetSignalInfo() argument
196 should_stop = signal.m_stop; in GetSignalInfo()
288 llvm::Optional<bool> should_stop, in GetFilteredSignals() argument
306 if (should_stop.hasValue() && signal_stop != should_stop.getValue()) in GetFilteredSignals()
DThreadList.cpp281 bool should_stop = false; in ShouldStop() local
287 should_stop = true; in ShouldStop()
332 should_stop |= true; in ShouldStop()
335 if (!should_stop && !did_anybody_stop_for_a_reason) { in ShouldStop()
336 should_stop = true; in ShouldStop()
344 should_stop); in ShouldStop()
346 if (should_stop) { in ShouldStop()
353 return should_stop; in ShouldStop()
DThread.cpp741 bool should_stop = true; in ShouldStop() local
826 should_stop = false; in ShouldStop()
833 should_stop = plan_ptr->ShouldStop(event_ptr); in ShouldStop()
845 if (should_stop) in ShouldStop()
871 should_stop = current_plan->ShouldStop(event_ptr); in ShouldStop()
872 LLDB_LOGF(log, "Base plan says should stop: %i.", should_stop); in ShouldStop()
881 should_stop = current_plan->ShouldStop(event_ptr); in ShouldStop()
883 should_stop); in ShouldStop()
885 if (should_stop) in ShouldStop()
891 if (should_stop && current_plan->IsMasterPlan() && in ShouldStop()
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_run.py182 while not all_done and not coord.should_stop():
190 if coord.should_stop():
198 if coord.should_stop():
201 if coord.should_stop():
306 if self.coord.should_stop():
448 if t.coord.should_stop():
/external/llvm-project/lldb/unittests/Signals/
DUnixSignalsTest.cpp59 bool should_suppress = false, should_stop = false, should_notify = false; in TEST() local
62 signals.GetSignalInfo(signo, should_suppress, should_stop, should_notify); in TEST()
65 EXPECT_EQ(false, should_stop); in TEST()
/external/autotest/client/cros/
Ddark_resume_listener.py92 def stop_resuspend(self, should_stop): argument
98 self._stop_resuspend = should_stop
/external/llvm-project/lldb/include/lldb/Target/
DUnixSignals.h39 bool &should_stop, bool &should_notify) const;
92 llvm::Optional<bool> should_stop,
DThreadPlanShouldStopHere.h43 ThreadPlanShouldStopHereCallback should_stop, in ThreadPlanShouldStopHereCallbacks()
45 should_stop_here_callback = should_stop; in ThreadPlanShouldStopHereCallbacks()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachThreadList.cpp470 uint32_t should_stop = false; in ShouldStop() local
472 for (uint32_t idx = 0; !should_stop && idx < num_threads; ++idx) { in ShouldStop()
473 should_stop = m_threads[idx]->ShouldStop(step_more); in ShouldStop()
475 return should_stop; in ShouldStop()
570 uint32_t should_stop = false; in GetThreadIndexForThreadStoppedWithSignal() local
572 for (uint32_t idx = 0; !should_stop && idx < num_threads; ++idx) { in GetThreadIndexForThreadStoppedWithSignal()
/external/llvm-project/lldb/test/API/functionalities/completion/
Dthread_plan_script.py16 def should_stop(self, event): member in PushPlanStack
/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);

123