code: def name_prefix_fn(name_prefix):
      """Returns a function that append a prefix to field names."""
  
      def _prefix_fn(data):
          transformed_data = {}
          for name, value in six.iteritems(data):
              new_name = _connect_name(name_prefix, name)
              transformed_data[new_name] = value
          return transformed_data
  
      return _prefix_fn
  
imports: import six
  import tensorflow
  import numpy
  from texar.tf.utils import utils
label_desc: Use image node_id 7 for calling a global function with example usage: name_prefix_fn(name_prefix) and returns: _prefix_fn, transformed_data