Skip to content

Commit c6d6468

Browse files
skyegunan
authored andcommitted
Work around Devsite bug in generated documentation.
Use "} }" instead of "}}" in the generated comment for the MatrixSolveLs op. Prior to this change, Devsite is unable to generate the C++ docs for this op. Change: 145117443
1 parent 7eb3475 commit c6d6468

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tensorflow/core/ops/linalg_ops.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,14 @@ matrix and right-hand sides in the batch:
439439
If `fast` is `True`, then the solution is computed by solving the normal
440440
equations using Cholesky decomposition. Specifically, if \\(m \ge n\\) then
441441
\\(X = (A^T A + \lambda I)^{-1} A^T B\\), which solves the least-squares
442-
problem \\(X = \mathrm{argmin}_{Z \in \Re^{n \times k}} ||A Z - B||_F^2 +
442+
problem \\(X = \mathrm{argmin}_{Z \in \Re^{n \times k} } ||A Z - B||_F^2 +
443443
\lambda ||Z||_F^2\\). If \\(m \lt n\\) then `output` is computed as
444444
\\(X = A^T (A A^T + \lambda I)^{-1} B\\), which (for \\(\lambda = 0\\)) is the
445445
minimum-norm solution to the under-determined linear system, i.e.
446-
\\(X = \mathrm{argmin}_{Z \in \Re^{n \times k}} ||Z||_F^2 \\), subject to
446+
\\(X = \mathrm{argmin}_{Z \in \Re^{n \times k} } ||Z||_F^2 \\), subject to
447447
\\(A Z = B\\). Notice that the fast path is only numerically stable when
448448
\\(A\\) is numerically full rank and has a condition number
449-
\\(\mathrm{cond}(A) \lt \frac{1}{\sqrt{\epsilon_{mach}}}\\) or\\(\lambda\\) is
449+
\\(\mathrm{cond}(A) \lt \frac{1}{\sqrt{\epsilon_{mach} } }\\) or\\(\lambda\\) is
450450
sufficiently large.
451451
452452
If `fast` is `False` an algorithm based on the numerically robust complete

0 commit comments

Comments
 (0)