(batch_size, img_type, device)
| 252 | |
| 253 | |
| 254 | def 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) |
nothing calls this directly
no test coverage detected