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

Function func

dali/test/python/operator_2/test_python_function.py:675–677  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

673
674def test_delete_pipe_while_function_running():
675 def func(x):
676 time.sleep(0.02)
677 return x
678
679 for i in range(5):
680 with Pipeline(batch_size=1, num_threads=1, device_id=None) as pipe:

Callers 4

run_caseFunction · 0.70
run_two_outputsFunction · 0.70
multi_per_sample_compareFunction · 0.70
multi_batch_compareFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected