()
| 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): |
no test coverage detected