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

Function check_stop_iter_fail_multi

dali/test/python/test_fw_iterators.py:1194–1201  ·  view source on GitHub ↗
(fw_iter)

Source from the content-addressed store, hash-verified

1192
1193@raises(Exception, glob="Negative size is supported only for a single pipeline")
1194def check_stop_iter_fail_multi(fw_iter):
1195 batch_size = 1
1196 iter_num = 1
1197 pipes = [
1198 create_test_iter_pipeline(batch_size, 0, TestIterator(iter_num, batch_size))
1199 for _ in range(2)
1200 ]
1201 fw_iter(pipes, -1, False)
1202
1203
1204@raises(Exception, glob="Size cannot be 0")

Calls 3

fw_iterFunction · 0.85
TestIteratorClass · 0.70

Tested by

no test coverage detected