code: def ksize_src(bs, lo, hi, seed):
      np_rng = np.random.default_rng(seed=seed)
  
      def gen_ksize():
          return (
              np_rng.integers(
                  lo // 2, hi // 2 + 1, size=(1), dtype=np.int32
              )
              * 2
              + 1
          )
  
      while True:
          ksize = [gen_ksize() for _ in range(bs)]
          yield ksize
  
file_path: DALI/dali/test/python/operator_1/test_median_blur.py
imports: import nvidia.dali
  import nvidia.dali.fn
  import cv2
  import numpy
  import multiprocessing
  import test_utils
  from nose2.tools import params
label_desc: Use image node_id 6 for calling a global function with example usage: ksize_src(bs, lo, hi, seed) and returns: unknown