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

Function compare

dali/test/python/operator_2/test_warp.py:217–221  ·  view source on GitHub ↗
(pipe1, pipe2, max_err)

Source from the content-addressed store, hash-verified

215
216
217def compare(pipe1, pipe2, max_err):
218 epoch_size = pipe1.epoch_size("Reader")
219 batch_size = pipe1.max_batch_size
220 niter = (epoch_size + batch_size - 1) // batch_size
221 compare_pipelines(pipe1, pipe2, batch_size, niter, max_allowed_error=max_err)
222
223
224io_types = [

Callers 2

implFunction · 0.70

Calls 2

compare_pipelinesFunction · 0.90
epoch_sizeMethod · 0.45

Tested by

no test coverage detected