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

Method __init__

dali/test/python/operator_2/test_python_function.py:163–165  ·  view source on GitHub ↗
(self, batch_size, device_id, seed, image_dir, function)

Source from the content-addressed store, hash-verified

161
162class SinkTestPipeline(CommonPipeline):
163 def __init__(self, batch_size, device_id, seed, image_dir, function):
164 super().__init__(batch_size, 1, device_id, seed, image_dir)
165 self.python_function = ops.PythonFunction(function=function, num_outputs=0)
166
167 def define_graph(self):
168 images, labels = self.load()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected