code: def multi_range(*args):
      import itertools
  
      return itertools.product(*[range(a) for a in args])
  
file_path: turicreate/src/python/turicreate/toolkits/object_detector/_detection.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: multi_range() and returns: itertools