code: def test_operator_noise_shot():
      niter = 3
      factors = [None, 0.2, 4, 21.25, 85]
      for device in ("cpu", "gpu"):
          for factor in factors:
              batch_size = random.choice([1, 3])
              yield _testimpl_operator_noise_shot, device, factor, batch_size, niter
  
file_path: DALI/dali/test/python/operator_1/test_noise_shot.py
imports: from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.types
  import random
  import numpy
  import os
  from test_utils import get_dali_extra_path
  from test_noise_utils import PSNR
label_desc: Use image node_id 4 for calling a global function with example usage: test_operator_noise_shot() without return types