diff options
author | 2016-12-16 18:05:54 -0800 | |
---|---|---|
committer | 2016-12-16 18:22:53 -0800 | |
commit | d6501689726e74d05b14617a26df942a0fc04832 (patch) | |
tree | 3ae1acbe81b7b30174ff5a6c45d0162cc5ed9b55 /tensorflow/g3doc/api_docs/python/math_ops.md | |
parent | 1829cf14c41a4372b604cedae17ecdaf12f1f037 (diff) |
Update generated Python Op docs.
Change: 142317703
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/math_ops.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/math_ops.md | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/tensorflow/g3doc/api_docs/python/math_ops.md b/tensorflow/g3doc/api_docs/python/math_ops.md index 830220ed61..7c9784d696 100644 --- a/tensorflow/g3doc/api_docs/python/math_ops.md +++ b/tensorflow/g3doc/api_docs/python/math_ops.md @@ -419,8 +419,8 @@ an input element and y is an output element, this operation computes ##### Args: -* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float32`, `float64`, `int32`, or - `int64`. +* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float16`, `float32`, `float64`, + `complex64`, `complex128`, `int32`, `int64`, * <b>`name`</b>: A name for the operation (optional). ##### Returns: @@ -2246,35 +2246,6 @@ tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]] - - - -### `tf.complex_abs(x, name=None)` {#complex_abs} - -Computes the complex absolute value of a tensor. - -Given a tensor `x` of complex numbers, this operation returns a tensor of type -`float32` or `float64` that is the absolute value of each element in `x`. All -elements in `x` must be complex numbers of the form \\(a + bj\\). The -absolute value is computed as \\( \sqrt{a^2 + b^2}\\). - -For example: - -``` -# tensor 'x' is [[-2.25 + 4.75j], [-3.25 + 5.75j]] -tf.complex_abs(x) ==> [5.25594902, 6.60492229] -``` - -##### Args: - - -* <b>`x`</b>: A `Tensor` of type `complex64` or `complex128`. -* <b>`name`</b>: A name for the operation (optional). - -##### Returns: - - A `Tensor` of type `float32` or `float64`. - - -- - - - ### `tf.conj(x, name=None)` {#conj} Returns the complex conjugate of a complex number. |