code: def var_lookup(vartype, name, *args, **kwargs):
      sig = (vartype, name)
      if sig in _all:
          return _all[sig]
      else:
          v = vartype(name, *args)
          _all[sig] = v
          return v
  
imports: from __future__ import absolute_import, print_function, division
  from copy import copy
  from functools import partial
  from theano.gof.utils import ANY_TYPE, comm_guard, FALL_THROUGH, iteritems
label_desc: Use image node_id 1 for calling a global function with example usage: var_lookup(vartype, name) and returns: _all, v