code: def enum_product(*params):
      return tuple(
          (i,) + t for i, t in enumerate(itertools.product(*params))
      )
  
imports: import itertools
  import os
  import sys
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  from astropy.io import fits
  import numpy
  import tempfile
  import random
  from nose2.tools import params
  from test_utils import to_array, get_dali_extra_path
  from numpy.testing import assert_array_equal
label_desc: Use image node_id 1 for calling a global function with example usage: enum_product() and returns: tuple