code: def theano_function(forward_func, backward_func, *inputs):
      return TheanoFunction(forward_func, backward_func)(*inputs)
  
file_path: chainer/chainer/functions/theano/theano_function.py
imports: import six
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling a global function with example usage: theano_function(forward_func, backward_func) and returns: TheanoFunction