code: def create_model(modeldir):
      def model(data):
          retval = {}
          for k, v in six.iteritems(data):
              retval[k] = v + 1
          return retval
  
      return model
  
label_desc: Use image node_id 1 for calling a global function with example usage: create_model(modeldir) and returns: model, retval