code: def test_per_frame():
      def window_size(sample_desc):
          return np.array(
              2 * sample_desc.rng.randint(1, 15) + 1, dtype=np.int32
          )
  
      def per_axis_window_size(sample_desc):
          return np.array([window_size(sample_desc) for _ in range(2)])
  
      def sigma(sample_desc):
          return np.array(
              (sample_desc.rng.random() + 1) * 3.0, dtype=np.float32
          )
  
      def per_axis_sigma(sample_desc):
          return np.array([sigma(sample_desc) for _ in range(2)])
  
      video_test_cases = [
          (fn.gaussian_blur, {"window_size": 3}, []),
          (
              fn.gaussian_blur,
              {},
              [ArgCb("window_size", window_size, True)],
          ),
          (
              fn.gaussian_blur,
              {},
              [ArgCb("window_size", per_axis_window_size, True)],
          ),
          (fn.gaussian_blur, {}, [ArgCb("sigma", sigma, True)]),
          (
              fn.gaussian_blur,
              {},
              [
                  ArgCb("window_size", per_axis_window_size, True),
                  ArgCb("sigma", per_axis_sigma, True),
              ],
          ),
          (
              fn.gaussian_blur,
              {"dtype": types.FLOAT},
              [
                  ArgCb("window_size", per_axis_window_size, False),
                  ArgCb("sigma", per_axis_sigma, True),
              ],
          ),
      ]
  
      yield from video_suite_helper(
          video_test_cases, expand_channels=True
      )
  
imports: from nvidia.dali.pipeline import Pipeline, pipeline_def
  import nvidia.dali.types
  import nvidia.dali.fn
  import numpy
  import cv2
  from scipy.ndimage import convolve1d
  import os
  from nose_utils import assert_raises, raises
  from nose.plugins.attrib import attr
  from sequences_test_utils import video_suite_helper, ArgCb
  from test_utils import get_dali_extra_path, check_batch, compare_pipelines, RandomlyShapedDataIterator, dali_type
label_desc: Use image node_id 23 for calling a global function with example usage: test_per_frame() and returns: np, np, np, np