diff options
author | 2016-11-22 15:08:04 -0800 | |
---|---|---|
committer | 2016-11-22 15:23:04 -0800 | |
commit | d1acfdfecdaa7d12ab3943750f7ae39f9967033d (patch) | |
tree | 23d6c3f9315a513afe40d377c75c5f2842ccb544 /tensorflow/g3doc/api_docs/python/math_ops.md | |
parent | 715f951eb9ca20fdcef20bb544b74dbe576734da (diff) |
Update generated Python Op docs.
Change: 139960226
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/math_ops.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/math_ops.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/math_ops.md b/tensorflow/g3doc/api_docs/python/math_ops.md index 77333996e0..27e8f7ed82 100644 --- a/tensorflow/g3doc/api_docs/python/math_ops.md +++ b/tensorflow/g3doc/api_docs/python/math_ops.md @@ -1948,6 +1948,45 @@ typically 6-7 times slower than the fast path. If `fast` is `False` then - - - +### `tf.qr(input, full_matrices=None, name=None)` {#qr} + +Computes the QR decompositions of one or more matrices. + +Computes the QR decomposition of each inner matrix in `tensor` such that +`tensor[..., :, :] = q[..., :, :] * r[..., :,:])` + +```prettyprint +# a is a tensor. +# q is a tensor of orthonormal matrices. +# r is a tensor of upper triangular matrices. +q, r = qr(a) +q_full, r_full = qr(a, full_matrices=True) +``` + +##### Args: + + +* <b>`input`</b>: A `Tensor`. Must be one of the following types: `float64`, `float32`, `complex64`, `complex128`. + A tensor of shape `[..., M, N]` whose inner-most 2 dimensions + form matrices of size `[M, N]`. Let `P` be the minimum of `M` and `N`. +* <b>`full_matrices`</b>: An optional `bool`. Defaults to `False`. + If true, compute full-sized `q` and `r`. If false + (the default), compute only the leading `P` columns of `q`. +* <b>`name`</b>: A name for the operation (optional). + +##### Returns: + + A tuple of `Tensor` objects (q, r). + +* <b>`q`</b>: A `Tensor`. Has the same type as `input`. Orthonormal basis for range of `a`. If `full_matrices` is `False` then + shape is `[..., M, P]`; if `full_matrices` is `True` then shape is + `[..., M, M]`. +* <b>`r`</b>: A `Tensor`. Has the same type as `input`. Triangular factor. If `full_matrices` is `False` then shape is + `[..., P, N]`. If `full_matrices` is `True` then shape is `[..., M, N]`. + + +- - - + ### `tf.self_adjoint_eig(tensor, name=None)` {#self_adjoint_eig} Computes the eigen decomposition of a batch of self-adjoint matrices. |