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

Function pipe

dali/test/python/reader/test_numpy.py:614–636  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612 # testcase name used for visibility in the output logs
613 @pipeline_def(batch_size=batch_size, device_id=0, num_threads=8)
614 def pipe():
615 data0 = fn.readers.numpy(
616 device=device,
617 file_root=file_root,
618 file_filter=file_filter,
619 shard_id=0,
620 num_shards=1,
621 cache_header_information=False,
622 seed=1234,
623 )
624 data1 = fn.readers.numpy(
625 device=device,
626 file_root=file_root,
627 file_filter=file_filter,
628 roi_start=[],
629 roi_end=[],
630 roi_axes=[],
631 shard_id=0,
632 num_shards=1,
633 cache_header_information=False,
634 seed=1234,
635 )
636 return data0, data1
637
638 p = pipe()
639 try:

Calls

no outgoing calls

Tested by

no test coverage detected