code: def constfn(val):
      def f(_):
          return val
  
      return f
  
file_path: baselines/baselines/ppo2/ppo2.py
imports: import os
  import time
  import numpy
  import os.path
  from baselines import logger
  from collections import deque
  from baselines.common import explained_variance, set_global_seeds
  from baselines.common.policies import build_policy
  from baselines.ppo2.runner import Runner
label_desc: Use image node_id 1 for calling a global function with example usage: constfn(val) and returns: f, val