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

Method __init__

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

Source from the content-addressed store, hash-verified

106
107class FlippingPipeline(CommonPipeline):
108 def __init__(self, batch_size, num_threads, device_id, seed, image_dir):
109 super().__init__(batch_size, num_threads, device_id, seed, image_dir)
110 self.flip = ops.Flip(horizontal=1)
111
112 def define_graph(self):
113 images, labels = self.load()

Callers

nothing calls this directly

Calls 2

FlipMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected