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

Function check_fancy_upsampling_body

dali/test/python/decoder/test_image.py:254–271  ·  view source on GitHub ↗
(batch_size, img_type, device)

Source from the content-addressed store, hash-verified

252
253
254def check_fancy_upsampling_body(batch_size, img_type, device):
255 data_path = os.path.join(test_data_root, good_path, img_type)
256 compare_pipelines(
257 decoder_pipe(
258 data_path=data_path,
259 batch_size=batch_size,
260 num_threads=3,
261 device_id=0,
262 device=device,
263 jpeg_fancy_upsampling=True,
264 ),
265 decoder_pipe(
266 data_path=data_path, batch_size=batch_size, num_threads=3, device_id=0, device="cpu"
267 ),
268 batch_size=batch_size,
269 N_iterations=3,
270 eps=1,
271 )
272
273
274@params(1, 8)

Callers

nothing calls this directly

Calls 2

compare_pipelinesFunction · 0.90
decoder_pipeFunction · 0.70

Tested by

no test coverage detected