Make grad more general (A. Bergeron)
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.
正在显示
差异被折叠。
File moved
请
注册
或者
登录
后发表评论