code: def params_generator():
      """
      Generates parameters for test.
      To be used in the @params decorator:
      @params(*list(params_generator())
  
      The pattern of generating the parameters:
      1. Generating a set of all permutations of `batch_size`, `frames_per_sequence` and `device`.
      2. Assigning the test file in a round-robin fashion to every permutation of parameters.
      """
      test_params = (
          (dev, fps, bs)
          for dev in device_values
          for fps in frames_per_sequence_values
          for bs in batch_size_values
      )
      num_test_files = len(files)
      file_idx = 0
      for tp in test_params:
          yield tp + (files[file_idx],)
          file_idx = (file_idx + 1) % num_test_files
  
file_path: DALI/dali/test/python/input/test_video.py
imports: import glob
  import itertools
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  from nose2.tools import params
  from nose_utils import assert_raises
  from nvidia.dali import pipeline_def
  from test_utils import get_dali_extra_path, to_array
label_desc: Use image node_id 1 for calling a global function with example usage: params_generator() without return types