Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _StopAt0
Function
_StopAt0
tensorflow/python/training/coordinator_test.py:337–341 ·
view source on GitHub ↗
(coord, n)
Source
from the content-addressed store, hash-verified
335
336
337
def
_StopAt0(coord, n):
338
if
n[0] == 0:
339
coord.request_stop()
340
else
:
341
n[0] -= 1
342
343
344
class
LooperTest(test.TestCase):
Callers
nothing calls this directly
Calls
1
request_stop
Method · 0.45
Tested by
no test coverage detected