arcadiaphy commented on issue #15007: Add matrix determinant operator in linalg
URL: https://github.com/apache/incubator-mxnet/pull/15007#issuecomment-494424737
 
 
   The following is the gradient of added operators:
   
   Matrix inversion
   
   <img 
src="https://latex.codecogs.com/gif.latex?\frac{\partial&space;L}{\partial&space;A}&space;=&space;-A^{-T}&space;\frac{\partial&space;L}{\partial&space;A^{-1}}&space;A^{-T}";
 title="\frac{\partial L}{\partial A} = -A^{-T} \frac{\partial L}{\partial 
A^{-1}} A^{-T}" />
   
   Matrix determinant (A is invertible)
   
   <img 
src="https://latex.codecogs.com/gif.latex?\frac{\partial&space;L}{\partial&space;A}&space;=&space;det(A)&space;\frac{\partial&space;L}{\partial&space;det(A)}&space;A^{-T}"
 title="\frac{\partial L}{\partial A} = det(A) \frac{\partial L}{\partial 
det(A)} A^{-T}" />
   
   Matrix log determinant and signed log determinant (A is invertible)
   
   <img 
src="https://latex.codecogs.com/gif.latex?\frac{\partial&space;L}{\partial&space;A}&space;=&space;\frac{\partial&space;L}{\partial&space;log(det(A))}&space;A^{-T}"
 title="\frac{\partial L}{\partial A} = \frac{\partial L}{\partial log(det(A))} 
A^{-T}" />

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