code: def test_permutation_generator():
      for allow_repetitions in [None, False, True]:
          for no_fixed in [None, False, True]:
              yield _test_permutation_generator, allow_repetitions, no_fixed
  
file_path: DALI/dali/test/python/operator_1/test_batch_permute.py
imports: import nvidia.dali
  import nvidia.dali.fn
  from nvidia.dali.pipeline import Pipeline
  import numpy
  from test_utils import check_batch
  from nose_utils import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_permutation_generator() without return types