Add TensorFlow op to compute the LU decomposition of a matrix.
For CPU, we use Eigen's PartialPivLU op, which has performance comparable to Cholesky decomposition. Unlike Cholesky this is also robust for non-SPD matrices. For GPU, we use getrf and getrfbatched from cuSolver. PiperOrigin-RevId: 224244390
Loading
Please sign in to comment