MCPcopy Create free account
hub / github.com/pytorch/pytorch / setup

Method setup

caffe2/python/dataio_test.py:68–71  ·  view source on GitHub ↗
(self, ws)

Source from the content-addressed store, hash-verified

66 return self._schema
67
68 def setup(self, ws):
69 self._src_ds = make_source_dataset(ws, offset=self._offset, size=self._size,
70 name=self._name)
71 return {}
72
73 def new_reader(self, **kwargs):
74 return self._src_ds

Callers

nothing calls this directly

Calls 1

make_source_datasetFunction · 0.85

Tested by

no test coverage detected