kshitij12345 edited a comment on issue #14613: [MXNET-978] Second order 
gradient support for some unary operators
URL: https://github.com/apache/incubator-mxnet/pull/14613#issuecomment-499977266
 
 
   Thank you very much for the clarification. 
   
   >  I think in MXNet we calculate input gradients based on the variables 
specified in the autograd.grad() API. In this case y_grad, even if a grad 
attribute is attached to it, no gradient values will be assigned during the 
second pass of backward(). Only the second order gradient x.grad is assigned. 
   
   BTW, I was wondering if above should be documented? Mostly probably users 
won't end up in this situation but still. Your thoughts?

----------------------------------------------------------------
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