Understanding loss function gradients

Thanks, will give it a try! Looking forward to the refactors. Pytorch is simply awesome - love what you guys have done.

Edit: register_hook on the variables worked a treat, thanks again.

2 Likes