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

Method __init__

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

Source from the content-addressed store, hash-verified

268
269class RotatePipeline(CommonPipeline):
270 def __init__(self, batch_size, num_threads, device_id, seed, image_dir):
271 super().__init__(batch_size, num_threads, device_id, seed, image_dir)
272 self.rotate = ops.Rotate(angle=90.0, interp_type=types.INTERP_NN)
273
274 def define_graph(self):
275 images, labels = self.load()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected