You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/07 17:47:05 UTC

[GitHub] [incubator-mxnet] kshitij12345 edited a comment on issue #14613: [MXNET-978] Second order gradient support for some unary operators

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:
users@infra.apache.org


With regards,
Apache Git Services