code: def product(parameter):
      # TODO(kataoka): Add documentation
      assert isinstance(parameter, dict)
      keys = sorted(parameter)
      values = [parameter[key] for key in keys]
      values_product = itertools.product(*values)
      return [dict(zip(keys, vals)) for vals in values_product]
  
file_path: cupy/cupy/testing/_parameterized.py
imports: import itertools
  import types
  import unittest
  from cupy.testing import _bundle
  from cupy.testing import _pytest_impl
label_desc: Use image node_id 7 for calling a global function with example usage: product(parameter) and returns: unknown