matrix determinant differentiation in tensorflow
I am interested in computing the derivative of a matrix determinant using TensorFlow. I can see from experimentation that TensorFlow has not implemented a method of differentiating through a determinant: LookupError: No gradient defined for operation 'MatrixDeterminant' (op type: MatrixDeterminant) A little further investigation revealed that it is actually possible to compute the derivative; see for example Jacobi's formula . I determined that in order to implement this means of differentiating through a determinant that I need to use the function decorator, @tf.RegisterGradient(