def grad(*args, **kwargs):
 return theano.gradient.grad(disconnected_inputs='ignore', *args, **kwargs)

def grad ( * args , ** kwargs ) : return theano . gradient . grad ( disconnected_inputs = 'ignore' , * args , ** kwargs )
a wrapper around theano .