MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / stop

Method stop

python/paddle/base/trainer_factory.py:245–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 self.fetch_thread.start()
244
245 def stop(self):
246 self.running_lock.acquire()
247 self.running = False
248 self.running_lock.release()

Callers 2

_run_from_datasetMethod · 0.95
test_fetch_handlerMethod · 0.95

Calls 2

acquireMethod · 0.80
releaseMethod · 0.45

Tested by 1

test_fetch_handlerMethod · 0.76