code: def position_independent_str(obj):
      if isinstance(obj, theano.gof.graph.Variable):
          rval = "theano_var"
          rval += "{type=" + str(obj.type) + "}"
      else:
          raise NotImplementedError()
  
      return rval
  
imports: from __future__ import absolute_import, print_function, division
  from copy import copy
  import logging
  import os
  import sys
  import hashlib
  import numpy
  from six import string_types, integer_types, iteritems
  from six.moves import StringIO, reduce
  import theano
  from theano import gof
  from theano import config
  from theano.gof import Op, Apply
  from theano.compile import Function, debugmode, SharedVariable
label_desc: Use image node_id 6 for calling a global function with example usage: position_independent_str(obj) and returns: rval