• Olivier Delalleau's avatar
    Make grad more general (A. Bergeron) · f9ca8f9d
    Olivier Delalleau 提交于
    Gradient code is moved from tensor/tensor_grad.py to theano/gradient.py.
    This makes it work with sparse variables.
    
    This commit was originally written by Arnaud Bergeron. I re-authored it
    to avoid a big merge in repo history.
    f9ca8f9d
basic.py 75.4 KB