aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/linalg_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/linalg_ops.py')
-rw-r--r--tensorflow/python/ops/linalg_ops.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/python/ops/linalg_ops.py b/tensorflow/python/ops/linalg_ops.py
index d6e7f5f58f..e2fd25675e 100644
--- a/tensorflow/python/ops/linalg_ops.py
+++ b/tensorflow/python/ops/linalg_ops.py
@@ -240,7 +240,7 @@ def svd(tensor, full_matrices=False, compute_uv=True, name=None):
# a is a tensor.
# s is a tensor of singular values.
# u is a tensor of left singular vectors.
- #v is a tensor of right singular vectors.
+ # v is a tensor of right singular vectors.
s, u, v = svd(a)
s = svd(a, compute_uv=False)
```
@@ -258,10 +258,10 @@ def svd(tensor, full_matrices=False, compute_uv=True, name=None):
Returns:
s: Singular values. Shape is `[..., P]`.
- u: Right singular vectors. If `full_matrices` is `False` (default) then
+ u: Left singular vectors. If `full_matrices` is `False` (default) then
shape is `[..., M, P]`; if `full_matrices` is `True` then shape is
`[..., M, M]`. Not returned if `compute_uv` is `False`.
- v: Left singular vectors. If `full_matrices` is `False` (default) then
+ v: Right singular vectors. If `full_matrices` is `False` (default) then
shape is `[..., N, P]`. If `full_matrices` is `True` then shape is
`[..., N, N]`. Not returned if `compute_uv` is `False`.