MCPcopy Create free account
hub / github.com/NVIDIA/DALI / __init__

Method __init__

dali/test/python/operator_2/test_python_function.py:558–562  ·  view source on GitHub ↗
(self, batch_size, num_threads, device_id, _seed)

Source from the content-addressed store, hash-verified

556
557class AsyncPipeline(Pipeline):
558 def __init__(self, batch_size, num_threads, device_id, _seed):
559 super().__init__(
560 batch_size, num_threads, device_id, seed=_seed, exec_async=True, exec_pipelined=True
561 )
562 self.op = ops.PythonFunction(function=lambda: numpy.zeros([2, 2, 2]))
563
564 def define_graph(self):
565 return self.op()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected