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

Method __init__

tensorpack/dataflow/parallel.py:181–185  ·  view source on GitHub ↗
(self, ds, queue, idx)

Source from the content-addressed store, hash-verified

179
180 class _Worker(mp.Process):
181 def __init__(self, ds, queue, idx):
182 super(MultiProcessRunner._Worker, self).__init__()
183 self.ds = ds
184 self.queue = queue
185 self.idx = idx
186
187 def run(self):
188 enable_death_signal(_warn=self.idx == 0)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected