code: def _values_to_dicts(names, values):
      assert isinstance(names, six.string_types)
      assert isinstance(values, (tuple, list))
  
      def safe_zip(ns, vs):
          if len(ns) == 1:
              return [(ns[0], vs)]
          assert isinstance(vs, (tuple, list)) and len(ns) == len(vs)
          return zip(ns, vs)
  
      names = names.split(",")
      params = [
          dict(safe_zip(names, value_list)) for value_list in values
      ]
      return params
  
imports: import functools
  import itertools
  import types
  import typing
  import unittest
  import numpy
  import six
  from chainer.testing import _bundle
  from chainer import utils
label_desc: Use image node_id 7 for calling a global function with example usage: _values_to_dicts(names, values) and returns: params, zip, list