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

Function pdef

dali/test/python/test_pipeline.py:2185–2188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2183
2184 @pipeline_def(batch_size=bs, num_threads=4, device_id=0, exec_dynamic=True)
2185 def pdef():
2186 enc, _ = fn.readers.file(file_root=jpeg_folder)
2187 img = fn.decoders.image(enc, device="mixed")
2188 return img, img.cpu()
2189
2190 pipe = pdef()
2191 for i in range(10):

Callers 5

test_gpu2cpuFunction · 0.85
test_gpu2cpu_arg_inputFunction · 0.85
test_gpu2cpu2mixedFunction · 0.85
test_shapes_gpuFunction · 0.85

Calls 6

fileMethod · 0.80
ConstantMethod · 0.80
uint8Method · 0.80
cpuMethod · 0.45
gpuMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected