code: def test_jpeg_compression_distortion_sequence():
      seq_len = 10
      for batch_size in [1, 15]:
          for device in ["cpu", "gpu"]:
              for quality in [2, None, 50]:
                  yield (
                      _testimpl_jpeg_compression_distortion_sequence,
                      batch_size,
                      device,
                      seq_len,
                      quality,
                  )
  
file_path: DALI/dali/test/python/operator_1/test_jpeg_compression_distortion.py
imports: from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.types
  from random import shuffle
  import numpy
  from test_utils import as_array
  import os
  import cv2
label_desc: Use image node_id 5 for calling a global function with example usage: test_jpeg_compression_distortion_sequence() without return types