Add theano.sparse_grad interface.