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

Function test_lazy_init_empty_data_path

dali/test/python/test_pipeline.py:785–793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

783
784
785def test_lazy_init_empty_data_path():
786 empty_db_folder = "/data/empty"
787 batch_size = 128
788
789 nonlazy_pipe = LazyPipeline(batch_size, empty_db_folder, lazy_type=False)
790 with assert_raises(RuntimeError):
791 nonlazy_pipe.build()
792 lazy_pipe = LazyPipeline(batch_size, empty_db_folder, lazy_type=True)
793 lazy_pipe.build()
794
795
796def test_lazy_init():

Callers

nothing calls this directly

Calls 3

assert_raisesFunction · 0.90
LazyPipelineClass · 0.85
buildMethod · 0.45

Tested by

no test coverage detected