Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_dataset
Method · 0.95
test_fetch_handler
Method · 0.95
Calls
2
acquire
Method · 0.80
release
Method · 0.45
Tested by
1
test_fetch_handler
Method · 0.76