Update generated Python Op docs.

Change: 144387537
This commit is contained in:
A. Unique TensorFlower 2017-01-12 16:37:41 -08:00 committed by TensorFlower Gardener
parent 78b11cef0c
commit 9914eaba62
5 changed files with 10 additions and 108 deletions

View File

@ -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`

View File

@ -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.
Instructions for updating:
`tf.neg(x)` is deprecated, please use `tf.negative(x)` or `-x`
I.e., \(y = -x\).
I.e., \\(y = -x\\).
##### Args:
* <b>`x`</b>: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
`float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`.
A `Tensor`. Has the same type as `x`.

View File

@ -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`

View File

@ -258,7 +258,6 @@
* [`maximum`](../../api_docs/python/math_ops.md#maximum)
* [`minimum`](../../api_docs/python/math_ops.md#minimum)
* [`mod`](../../api_docs/python/math_ops.md#mod)
* [`mul`](../../api_docs/python/math_ops.md#mul)
* [`multiply`](../../api_docs/python/math_ops.md#multiply)
* [`neg`](../../api_docs/python/math_ops.md#neg)
* [`negative`](../../api_docs/python/math_ops.md#negative)
@ -297,7 +296,6 @@
* [`sqrt`](../../api_docs/python/math_ops.md#sqrt)
* [`square`](../../api_docs/python/math_ops.md#square)
* [`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)
* [`svd`](../../api_docs/python/math_ops.md#svd)
* [`tan`](../../api_docs/python/math_ops.md#tan)

View File

@ -3724,71 +3724,20 @@ invert_permutation(x) ==> [2, 4, 3, 0, 1]
## 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
[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\).
I.e., \\(y = -x\\).
##### Args:
* <b>`x`</b>: A `Tensor` or `SparseTensor`. Must be one of the following types: `half`,
`float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A `Tensor` or `SparseTensor`, respectively. 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`