Update generated Python Op docs.
Change: 144387537
This commit is contained in:
parent
78b11cef0c
commit
9914eaba62
@ -1,20 +0,0 @@
|
|||||||
### `tf.mul(*args, **kwargs)` {#mul}
|
|
||||||
|
|
||||||
Returns x * y element-wise.
|
|
||||||
|
|
||||||
*NOTE*: `Mul` supports broadcasting. More about broadcasting
|
|
||||||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
|
|
||||||
|
|
||||||
Args:
|
|
||||||
x: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
y: A `Tensor`. Must have the same type as `x`.
|
|
||||||
name: A name for the operation (optional).
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
A `Tensor`. Has the same type as `x`.
|
|
||||||
DEPRECATED FUNCTION
|
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
|
||||||
Instructions for updating:
|
|
||||||
`tf.mul(x, y)` is deprecated, please use `tf.multiply(x, y)` or `x * y`
|
|
||||||
|
|
@ -1,21 +1,16 @@
|
|||||||
### `tf.neg(*args, **kwargs)` {#neg}
|
### `tf.neg(x, name=None)` {#neg}
|
||||||
|
|
||||||
Computes numerical negative value element-wise. (deprecated)
|
Computes numerical negative value element-wise.
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
I.e., \\(y = -x\\).
|
||||||
Instructions for updating:
|
|
||||||
`tf.neg(x)` is deprecated, please use `tf.negative(x)` or `-x`
|
|
||||||
|
|
||||||
I.e., \(y = -x\).
|
|
||||||
|
|
||||||
##### Args:
|
##### Args:
|
||||||
|
|
||||||
|
|
||||||
* <b>`x`</b>: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
|
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
||||||
`float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
* <b>`name`</b>: A name for the operation (optional).
|
* <b>`name`</b>: A name for the operation (optional).
|
||||||
|
|
||||||
##### Returns:
|
##### Returns:
|
||||||
|
|
||||||
A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`.
|
A `Tensor`. Has the same type as `x`.
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
### `tf.sub(*args, **kwargs)` {#sub}
|
|
||||||
|
|
||||||
Returns x - y element-wise.
|
|
||||||
|
|
||||||
*NOTE*: `Sub` supports broadcasting. More about broadcasting
|
|
||||||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
|
|
||||||
|
|
||||||
Args:
|
|
||||||
x: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
y: A `Tensor`. Must have the same type as `x`.
|
|
||||||
name: A name for the operation (optional).
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
A `Tensor`. Has the same type as `x`.
|
|
||||||
DEPRECATED FUNCTION
|
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
|
||||||
Instructions for updating:
|
|
||||||
`tf.sub(x, y)` is deprecated, please use `tf.subtract(x, y)` or `x - y`
|
|
||||||
|
|
@ -258,7 +258,6 @@
|
|||||||
* [`maximum`](../../api_docs/python/math_ops.md#maximum)
|
* [`maximum`](../../api_docs/python/math_ops.md#maximum)
|
||||||
* [`minimum`](../../api_docs/python/math_ops.md#minimum)
|
* [`minimum`](../../api_docs/python/math_ops.md#minimum)
|
||||||
* [`mod`](../../api_docs/python/math_ops.md#mod)
|
* [`mod`](../../api_docs/python/math_ops.md#mod)
|
||||||
* [`mul`](../../api_docs/python/math_ops.md#mul)
|
|
||||||
* [`multiply`](../../api_docs/python/math_ops.md#multiply)
|
* [`multiply`](../../api_docs/python/math_ops.md#multiply)
|
||||||
* [`neg`](../../api_docs/python/math_ops.md#neg)
|
* [`neg`](../../api_docs/python/math_ops.md#neg)
|
||||||
* [`negative`](../../api_docs/python/math_ops.md#negative)
|
* [`negative`](../../api_docs/python/math_ops.md#negative)
|
||||||
@ -297,7 +296,6 @@
|
|||||||
* [`sqrt`](../../api_docs/python/math_ops.md#sqrt)
|
* [`sqrt`](../../api_docs/python/math_ops.md#sqrt)
|
||||||
* [`square`](../../api_docs/python/math_ops.md#square)
|
* [`square`](../../api_docs/python/math_ops.md#square)
|
||||||
* [`squared_difference`](../../api_docs/python/math_ops.md#squared_difference)
|
* [`squared_difference`](../../api_docs/python/math_ops.md#squared_difference)
|
||||||
* [`sub`](../../api_docs/python/math_ops.md#sub)
|
|
||||||
* [`subtract`](../../api_docs/python/math_ops.md#subtract)
|
* [`subtract`](../../api_docs/python/math_ops.md#subtract)
|
||||||
* [`svd`](../../api_docs/python/math_ops.md#svd)
|
* [`svd`](../../api_docs/python/math_ops.md#svd)
|
||||||
* [`tan`](../../api_docs/python/math_ops.md#tan)
|
* [`tan`](../../api_docs/python/math_ops.md#tan)
|
||||||
|
@ -3724,71 +3724,20 @@ invert_permutation(x) ==> [2, 4, 3, 0, 1]
|
|||||||
## Other Functions and Classes
|
## Other Functions and Classes
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
### `tf.mul(*args, **kwargs)` {#mul}
|
### `tf.neg(x, name=None)` {#neg}
|
||||||
|
|
||||||
Returns x * y element-wise.
|
Computes numerical negative value element-wise.
|
||||||
|
|
||||||
*NOTE*: `Mul` supports broadcasting. More about broadcasting
|
I.e., \\(y = -x\\).
|
||||||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
|
|
||||||
|
|
||||||
Args:
|
|
||||||
x: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
y: A `Tensor`. Must have the same type as `x`.
|
|
||||||
name: A name for the operation (optional).
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
A `Tensor`. Has the same type as `x`.
|
|
||||||
DEPRECATED FUNCTION
|
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
|
||||||
Instructions for updating:
|
|
||||||
`tf.mul(x, y)` is deprecated, please use `tf.multiply(x, y)` or `x * y`
|
|
||||||
|
|
||||||
|
|
||||||
- - -
|
|
||||||
|
|
||||||
### `tf.neg(*args, **kwargs)` {#neg}
|
|
||||||
|
|
||||||
Computes numerical negative value element-wise. (deprecated)
|
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
|
||||||
Instructions for updating:
|
|
||||||
`tf.neg(x)` is deprecated, please use `tf.negative(x)` or `-x`
|
|
||||||
|
|
||||||
I.e., \(y = -x\).
|
|
||||||
|
|
||||||
##### Args:
|
##### Args:
|
||||||
|
|
||||||
|
|
||||||
* <b>`x`</b>: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
|
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
||||||
`float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
* <b>`name`</b>: A name for the operation (optional).
|
* <b>`name`</b>: A name for the operation (optional).
|
||||||
|
|
||||||
##### Returns:
|
##### Returns:
|
||||||
|
|
||||||
A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`.
|
A `Tensor`. Has the same type as `x`.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
|
||||||
|
|
||||||
### `tf.sub(*args, **kwargs)` {#sub}
|
|
||||||
|
|
||||||
Returns x - y element-wise.
|
|
||||||
|
|
||||||
*NOTE*: `Sub` supports broadcasting. More about broadcasting
|
|
||||||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
|
|
||||||
|
|
||||||
Args:
|
|
||||||
x: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
|
|
||||||
y: A `Tensor`. Must have the same type as `x`.
|
|
||||||
name: A name for the operation (optional).
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
A `Tensor`. Has the same type as `x`.
|
|
||||||
DEPRECATED FUNCTION
|
|
||||||
|
|
||||||
THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30.
|
|
||||||
Instructions for updating:
|
|
||||||
`tf.sub(x, y)` is deprecated, please use `tf.subtract(x, y)` or `x - y`
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user