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

Function test_pipe

dali/test/python/test_external_source_dali.py:881–885  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

879
880 @pipeline_def(batch_size=4, device_id=0, num_threads=4)
881 def test_pipe():
882 src_0 = fn.external_source(source=my_source, batch=False)
883 src_1 = fn.external_source(source=SourceClass(2), batch=False)
884 src_2 = fn.external_source(source=SourceClassWithoutInfo(42), batch=False)
885 return src_0, src_1, src_2
886
887 pipe = test_pipe()
888 out0, out1, out2 = pipe.run()

Calls 2

SourceClassClass · 0.85

Tested by

no test coverage detected