@memoize
def _compile_theano_function(param, vars, givens=None):
 return function(vars, param, givens=givens, rebuild_strict=True, on_unused_input='ignore', allow_input_downcast=True)

@ memoize def _compile_theano_function ( param , vars , givens = None ) : return function ( vars , param , givens = givens , rebuild_strict = True , on_unused_input = 'ignore' , allow_input_downcast = True )
compile theano function for a given parameter and input variables .