def METHOD_NAME():
    for batch_size in [1, 15]:
        for device in ['cpu', 'gpu']:
            for quality in [2, None, 50]:
                for layout in ['HWC', 'FHWC']:
                    yield _testimpl_jpeg_compression_distortion, batch_size, device, quality, layout