apeforest commented on issue #15120: [bug] fix higher grad log 
URL: https://github.com/apache/incubator-mxnet/pull/15120#issuecomment-499599418
 
 
   > ```python
   > x_grad = x_grad_mid * y_grad # Note this part.
   > ```
   
   I don't think this part is correct.
   
   Note: your x_grad_mid is dL/dx.
   So x_grad_mid = y_grad * grad_op(x)
   
   Do you meant to write x_grad = grad_op(x) * y_grad?

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


With regards,
Apache Git Services

Reply via email to