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

Function test_lazy_init

dali/test/python/test_pipeline.py:796–807  ·  view source on GitHub ↗

Comparing results of pipeline: lazy_init false and lazy_init true with empty folder and real folder

()

Source from the content-addressed store, hash-verified

794
795
796def test_lazy_init():
797 """
798 Comparing results of pipeline: lazy_init false and lazy_init
799 true with empty folder and real folder
800 """
801 batch_size = 128
802 compare_pipelines(
803 LazyPipeline(batch_size, caffe_db_folder, lazy_type=False),
804 LazyPipeline(batch_size, caffe_db_folder, lazy_type=True),
805 batch_size=batch_size,
806 N_iterations=20,
807 )
808
809
810def test_iter_setup():

Callers

nothing calls this directly

Calls 2

compare_pipelinesFunction · 0.90
LazyPipelineClass · 0.85

Tested by

no test coverage detected