MCPcopy Index your code
hub / github.com/pytorch/pytorch / __init__

Method __init__

caffe2/python/queue_util.py:59–62  ·  view source on GitHub ↗
(self, handler, schema=None, num_dequeue_records=1)

Source from the content-addressed store, hash-verified

57
58class QueueWrapper(dataio.Pipe):
59 def __init__(self, handler, schema=None, num_dequeue_records=1):
60 dataio.Pipe.__init__(self, schema, TaskGroup.LOCAL_SETUP)
61 self._queue = handler
62 self._num_dequeue_records = num_dequeue_records
63
64 def reader(self):
65 return _QueueReader(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected