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

Function impl

dali/test/python/operator_2/test_warp.py:233–236  ·  view source on GitHub ↗
(device, batch_size, use_input, otype, itype, inv_map)

Source from the content-addressed store, hash-verified

231
232def test_vs_cv():
233 def impl(device, batch_size, use_input, otype, itype, inv_map):
234 cv_pipeline = CVPipeline(batch_size, otype, itype, use_input, inv_map=inv_map)
235 cpu_pipeline = WarpPipeline(device, batch_size, otype, itype, use_input, inv_map=inv_map)
236 compare(cv_pipeline, cpu_pipeline, 8)
237
238 random.seed(1009)
239 for device in ["cpu", "gpu"]:

Callers 9

ExecuteMethod · 0.50
ExecuteMethod · 0.50
ExecuteMethod · 0.50
ExecuteMethod · 0.50
ExecuteMethod · 0.50
float16Method · 0.50
GetAddressGranularityFunction · 0.50
IsSupportedFunction · 0.50

Calls 4

WarpPipelineClass · 0.85
CVPipelineClass · 0.70
compareFunction · 0.70
buildMethod · 0.45

Tested by

no test coverage detected