code: def test_water_vs_cv():
      niter = 3
      for device in ["cpu", "gpu"]:
          for batch_size in [1, 3]:
              for dtype in [types.UINT8, types.FLOAT]:
                  for prime_size in [False, True]:
                      yield check_water_vs_cv, device, batch_size, niter, dtype, prime_size
  
imports: import nose_utils
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  import nvidia.dali
  import numpy
  import os
  import cv2
  from test_utils import compare_pipelines
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 5 for calling a global function with example usage: test_water_vs_cv() without return types