I'm wondering what tensor flow uses to perform row reduction. Specifically when I call tf.linalg.inv
what algorithm runs? Tensorflow is open source so I figured that it would be easy enough to find but I find myself a little lost in the code base. If I could just get a pointer to the implementation of the aforementioned function that would be great. If there is a name for the Gauss Jordan elimination implementation they used that would be even better.
https://github.com/tensorflow/tensorflow
Asked
Active
Viewed 86 times
0

kpie
- 9,588
- 5
- 28
- 50
1 Answers
0
The op uses LU decomposition with partial pivoting to compute the inverses. For more insighton tf.linalg.inv algorithm please refer to this link: https://www.tensorflow.org/api_docs/python/tf/linalg/inv
-
If you wish to experiment with something similar please refer to this stackoverflow link here
-
But where's the source code? – kpie Apr 02 '22 at 15:08