提交 4994af33 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Update generated Python Op docs.

Change: 125783676
上级 04196090
......@@ -3,7 +3,7 @@
Returns the imaginary part of a complex number.
Given a tensor `input` of complex numbers, this operation returns a tensor of
type `float` or `double` that is the imaginary part of each element in
type `float32` or `float64` that is the imaginary part of each element in
`input`. All elements in `input` must be complex numbers of the form \(a +
bj\), where *a* is the real part and *b* is the imaginary part returned by
this operation.
......@@ -23,5 +23,5 @@ tf.imag(input) ==> [4.75, 5.75]
##### Returns:
A `Tensor` of type `float` or `double`.
A `Tensor` of type `float32` or `float64`.
......@@ -6,7 +6,7 @@ The inputs must be two-dimensional matrices, with matching inner dimensions,
possibly after transposition.
Both matrices must be of the same type. The supported types are:
`float`, `double`, `int32`, `complex64`.
`float32`, `float64`, `int32`, `complex64`.
Either matrix can be transposed on the fly by setting the corresponding flag
to `True`. This is `False` by default.
......@@ -32,7 +32,7 @@ c = tf.matmul(a, b) => [[58 64]
##### Args:
* <b>`a`</b>: `Tensor` of type `float`, `double`, `int32` or `complex64`.
* <b>`a`</b>: `Tensor` of type `float32`, `float64`, `int32` or `complex64`.
* <b>`b`</b>: `Tensor` with same type as `a`.
* <b>`transpose_a`</b>: If `True`, `a` is transposed before multiplication.
* <b>`transpose_b`</b>: If `True`, `b` is transposed before multiplication.
......
......@@ -3,7 +3,7 @@
Returns the real part of a complex number.
Given a tensor `input` of complex numbers, this operation returns a tensor of
type `float` or `double` that is the real part of each element in `input`.
type `float32` or `float64` that is the real part of each element in `input`.
All elements in `input` must be complex numbers of the form \(a + bj\),
where *a* is the real part returned by this operation and *b* is the
imaginary part.
......@@ -24,5 +24,5 @@ tf.real(input) ==> [-2.25, 3.25]
##### Returns:
A `Tensor` of type `float` or `double`.
A `Tensor` of type `float32` or `float64`.
......@@ -3,7 +3,7 @@
Computes the complex absolute value of a tensor.
Given a tensor `x` of complex numbers, this operation returns a tensor of type
`float` or `double` that is the absolute value of each element in `x`. All
`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}\\).
......
......@@ -13,7 +13,7 @@ number.
##### Args:
* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float`, `double`, `int32`, or
* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float32`, `float64`, `int32`, or
`int64`.
* <b>`name`</b>: A name for the operation (optional).
......
......@@ -14,10 +14,10 @@ tf.pow(x, y) ==> [[256, 65536], [9, 27]]
##### Args:
* <b>`x`</b>: A `Tensor` of type `float`, `double`, `int32`, `int64`, `complex64`, or
`complex128`.
* <b>`y`</b>: A `Tensor` of type `float`, `double`, `int32`, `int64`, `complex64`, or
`complex128`.
* <b>`x`</b>: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
or `complex128`.
* <b>`y`</b>: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
or `complex128`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
......
......@@ -7,7 +7,7 @@ Specifically, `y = 1 / (1 + exp(-x))`.
##### Args:
* <b>`x`</b>: A Tensor with type `float`, `double`, `int32`, `complex64`, `int64`,
* <b>`x`</b>: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
or `qint32`.
* <b>`name`</b>: A name for the operation (optional).
......
......@@ -12,7 +12,7 @@ tf.round(a) ==> [ 1.0, 3.0, 2.0, -4.0 ]
##### Args:
* <b>`x`</b>: A `Tensor` of type `float` or `double`.
* <b>`x`</b>: A `Tensor` of type `float32` or `float64`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
......
......@@ -5,7 +5,7 @@ Computes hyperbolic tangent of `x` element-wise.
##### Args:
* <b>`x`</b>: A Tensor with type `float`, `double`, `int32`, `complex64`, `int64`,
* <b>`x`</b>: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
or `qint32`.
* <b>`name`</b>: A name for the operation (optional).
......
......@@ -244,7 +244,7 @@ number.
##### Args:
* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float`, `double`, `int32`, or
* <b>`x`</b>: A `Tensor` or `SparseTensor` of type `float32`, `float64`, `int32`, or
`int64`.
* <b>`name`</b>: A name for the operation (optional).
......@@ -350,7 +350,7 @@ tf.round(a) ==> [ 1.0, 3.0, 2.0, -4.0 ]
##### Args:
* <b>`x`</b>: A `Tensor` of type `float` or `double`.
* <b>`x`</b>: A `Tensor` of type `float32` or `float64`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
......@@ -414,10 +414,10 @@ tf.pow(x, y) ==> [[256, 65536], [9, 27]]
##### Args:
* <b>`x`</b>: A `Tensor` of type `float`, `double`, `int32`, `int64`, `complex64`, or
`complex128`.
* <b>`y`</b>: A `Tensor` of type `float`, `double`, `int32`, `int64`, `complex64`, or
`complex128`.
* <b>`x`</b>: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
or `complex128`.
* <b>`y`</b>: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
or `complex128`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
......@@ -1200,7 +1200,7 @@ The inputs must be two-dimensional matrices, with matching inner dimensions,
possibly after transposition.
Both matrices must be of the same type. The supported types are:
`float`, `double`, `int32`, `complex64`.
`float32`, `float64`, `int32`, `complex64`.
Either matrix can be transposed on the fly by setting the corresponding flag
to `True`. This is `False` by default.
......@@ -1226,7 +1226,7 @@ c = tf.matmul(a, b) => [[58 64]
##### Args:
* <b>`a`</b>: `Tensor` of type `float`, `double`, `int32` or `complex64`.
* <b>`a`</b>: `Tensor` of type `float32`, `float64`, `int32` or `complex64`.
* <b>`b`</b>: `Tensor` with same type as `a`.
* <b>`transpose_a`</b>: If `True`, `a` is transposed before multiplication.
* <b>`transpose_b`</b>: If `True`, `b` is transposed before multiplication.
......@@ -1854,7 +1854,7 @@ tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]
Computes the complex absolute value of a tensor.
Given a tensor `x` of complex numbers, this operation returns a tensor of type
`float` or `double` that is the absolute value of each element in `x`. All
`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}\\).
......@@ -1914,7 +1914,7 @@ tf.conj(input) ==> [-2.25 - 4.75j, 3.25 - 5.75j]
Returns the imaginary part of a complex number.
Given a tensor `input` of complex numbers, this operation returns a tensor of
type `float` or `double` that is the imaginary part of each element in
type `float32` or `float64` that is the imaginary part of each element in
`input`. All elements in `input` must be complex numbers of the form \(a +
bj\), where *a* is the real part and *b* is the imaginary part returned by
this operation.
......@@ -1934,7 +1934,7 @@ tf.imag(input) ==> [4.75, 5.75]
##### Returns:
A `Tensor` of type `float` or `double`.
A `Tensor` of type `float32` or `float64`.
- - -
......@@ -1944,7 +1944,7 @@ tf.imag(input) ==> [4.75, 5.75]
Returns the real part of a complex number.
Given a tensor `input` of complex numbers, this operation returns a tensor of
type `float` or `double` that is the real part of each element in `input`.
type `float32` or `float64` that is the real part of each element in `input`.
All elements in `input` must be complex numbers of the form \(a + bj\),
where *a* is the real part returned by this operation and *b* is the
imaginary part.
......@@ -1965,7 +1965,7 @@ tf.real(input) ==> [-2.25, 3.25]
##### Returns:
A `Tensor` of type `float` or `double`.
A `Tensor` of type `float32` or `float64`.
- - -
......
......@@ -186,7 +186,7 @@ Specifically, `y = 1 / (1 + exp(-x))`.
##### Args:
* <b>`x`</b>: A Tensor with type `float`, `double`, `int32`, `complex64`, `int64`,
* <b>`x`</b>: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
or `qint32`.
* <b>`name`</b>: A name for the operation (optional).
......@@ -205,7 +205,7 @@ Computes hyperbolic tangent of `x` element-wise.
##### Args:
* <b>`x`</b>: A Tensor with type `float`, `double`, `int32`, `complex64`, `int64`,
* <b>`x`</b>: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
or `qint32`.
* <b>`name`</b>: A name for the operation (optional).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册