Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ _build_source_reader
Method
_build_source_reader
caffe2/python/dataio_test.py:368–370 ·
view source on GitHub ↗
(ws, size)
Source
from the content-addressed store, hash-verified
366
367
@staticmethod
368
def
_build_source_reader(ws, size):
369
src_ds = make_source_dataset(ws, size)
370
return
src_ds.reader()
371
372
@staticmethod
373
def
_read_all_data(ws, reader, session):
Callers
2
test_cached_reader
Method · 0.95
test_db_file_reader
Method · 0.95
Calls
2
make_source_dataset
Function · 0.85
reader
Method · 0.45
Tested by
no test coverage detected