code: def _make_defaultdict(keys, values, default_value):
      """Creates a python defaultdict.
  
      Args:
          keys (list): Keys of the dictionary.
          values (list): Values correspond to keys. The two lists :attr:`keys` and
              :attr:`values` must be of the same length.
          default_value: default value returned when key is missing.
  
      Returns:
          defaultdict: A python `defaultdict` instance that maps keys to values.
      """
      dict_ = defaultdict(lambda: default_value)
      for k, v in zip(keys, values):
          dict_[k] = v
  
      return dict_
  
imports: import warnings
  from collections import defaultdict
  import tensorflow
  from tensorflow import gfile
  import numpy
  from texar.tf.utils.utils import dict_lookup
label_desc: Use image node_id 1 for calling a global function with example usage: _make_defaultdict(keys, values, default_value) and returns: dict_