code: def compare(pipe1, pipe2, eps):
      pipe1.build()
      pipe2.build()
      epoch_size = pipe1.epoch_size("Reader")
      batch_size = pipe1.max_batch_size
      niter = 1 if batch_size >= epoch_size else 2
      compare_pipelines(pipe1, pipe2, batch_size, niter, eps)
  
imports: import cv2
  import numpy
  import math
  import os
  import random
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.types
  import nvidia.dali
  from test_utils import compare_pipelines
  from sequences_test_utils import ArgData, ArgDesc, ArgCb, ParamsProvider, get_video_input_cases, sequence_suite_helper
label_desc: Use image node_id 7 for calling a global function with example usage: compare(pipe1, pipe2, eps) without return types