code: def __next__(self):
      first = self._load_next()
      seq = [first]
      for _ in range(self.sequence_length):
          img = self._load_next()
          if img.shape != first.shape:
              img = cv2.resize(img, (first.shape[1], first.shape[0]))
          seq.append(img)
      return np.stack(seq)
  
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 4 for calling the InputImagesIter obj's underlying member method code with example usage: obj.__next__() and returns: np