hi everyone, I am new to pytorch, my question is a litter different from @Eddie_Li,

屏幕快照 2017-08-09 下午12.06.07.png740×128 8.89 KB

is there any way to change grad after backward?
I mean loss = right side of the red line
After backward, can I do pai(theta) * loss.grad, and then optimizer.step() ?
Is that way work?