code: def gen_transforms(n, step):
      a = 0.0
      step = step * (math.pi / 180)
      out = np.zeros([n, 2, 3])
      for i in range(n):
          out[i, :, :] = gen_transform(a, 2, 160, 120, 100, 100)
          a = a + step
      return out.astype(np.float32)
  
imports: import nose_utils
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  import math
  import os
  import cv2
  from sequences_test_utils import video_suite_helper, SampleDesc, ArgCb
  from test_utils import compare_pipelines
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: gen_transforms(n, step) and returns: out