Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ CountUntil
Function
CountUntil
caffe2/python/dataio.py:448–449 ·
view source on GitHub ↗
(num_iter)
Source
from the content-addressed store, hash-verified
446
447
448
def
CountUntil(num_iter):
449
return
ReaderWithLimit(CounterReader(), num_iter)
450
451
452
class
ReaderWithTimeLimit(ReaderWithLimitBase):
Callers
nothing calls this directly
Calls
2
ReaderWithLimit
Class · 0.85
CounterReader
Class · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…