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

Function pipe

dali/test/python/operator_1/test_operator_exception.py:31–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29def test_python_error_constructor():
30 @pipeline_def(batch_size=1, num_threads=1, device_id=0)
31 def pipe():
32 return fn.throw_exception(constructor=True)
33
34 with assert_raises(
35 RuntimeError,

Calls 3

atan2Method · 0.80
gpuMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected