def fastfn(outs, mode=None, model=None):
 model = modelcontext(model)
 return model.fastfn(outs, mode)

def fastfn ( outs , mode = None , model = None ) : model = modelcontext ( model ) return model . fastfn ( outs , mode )
compiles a theano function which returns outs and takes values of model vars as a dict as an argument .