pluskid / Mocha.jl

Deep Learning framework for Julia
Other
1.29k stars 254 forks source link

Feature request: force_backward option, backward for bottom layers #165

Open NOTtheMessiah opened 8 years ago

NOTtheMessiah commented 8 years ago

Caffe uses force_backward=True to allow one to compute gradients for data layers to do things such as DeepDream. In Mocha, you have empty implementations of backwards for layers such as data and crop. With something like the _forcebackward option, one could optionally compute diffs.