szha commented on issue #11865: attach_grad of intermediate variables causes 
the gradient graph to be lost
URL: 
https://github.com/apache/incubator-mxnet/issues/11865#issuecomment-488475775
 
 
   > would you also want the result of y.grad to be retained
   
   Yes, that's what I'd like to have. In the current implementation, instead of 
marking the y's gradient to be one of the output, the above code discards the 
previous graph in which y resides.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to