def float32_floatX(f):
 def new_f(*args, **kwargs):
  '\n        .. todo::\n\n            WRITEME\n        '
  old_floatX = theano.config.floatX
  theano.config.floatX = 'float32'
  try:
   f(*args, **kwargs)
  finally:
   theano.config.floatX = old_floatX
 new_f.func_name = f.func_name
 return new_f

def float32_floatX ( f ) : def new_f ( * args , ** kwargs ) : old_floatX = theano . config . floatX theano . config . floatX = 'float32' try : f ( * args , ** kwargs ) finally : theano . config . floatX = old_floatX new_f . func_name = f . func_name return new_f
this function changes floatx to float32 for the call to f .