From 0837ac805f3ddd885dc1fb14a0b7ccd4e1a8afa8 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 18 Jan 2017 16:41:21 -0800 Subject: [PATCH] Update generated Python Op docs. Change: 144899411 --- .../functions_and_classes/shard2/tf.neg.md | 16 -------------- ...parse_softmax_cross_entropy_with_logits.md | 14 ++++++------- tensorflow/g3doc/api_docs/python/index.md | 1 - tensorflow/g3doc/api_docs/python/math_ops.md | 21 ------------------- tensorflow/g3doc/api_docs/python/nn.md | 14 ++++++------- 5 files changed, 14 insertions(+), 52 deletions(-) delete mode 100644 tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.neg.md diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.neg.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.neg.md deleted file mode 100644 index 519fd9a8756..00000000000 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.neg.md +++ /dev/null @@ -1,16 +0,0 @@ -### `tf.neg(x, name=None)` {#neg} - -Computes numerical negative value element-wise. - -I.e., \\(y = -x\\). - -##### Args: - - -* `x`: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`. -* `name`: A name for the operation (optional). - -##### Returns: - - A `Tensor`. Has the same type as `x`. - diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.nn.sparse_softmax_cross_entropy_with_logits.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.nn.sparse_softmax_cross_entropy_with_logits.md index bcf0156924b..0aa696ba2fc 100644 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.nn.sparse_softmax_cross_entropy_with_logits.md +++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.nn.sparse_softmax_cross_entropy_with_logits.md @@ -28,13 +28,13 @@ this function.** _sentinel: Used to prevent positional parameters. Internal, do not use. -* `labels`: `Tensor` of shape `[d_0, d_1, ..., d_{r-2}]` and dtype `int32` or - `int64`. Each entry in `labels` must be an index in `[0, num_classes)`. - Other values will raise an exception when this op is run on CPU, and - return `NaN` for corresponding corresponding loss and gradient rows - on GPU. -* `logits`: Unscaled log probabilities of rank `r` and shape - `[d_0, d_1, ..., d_{r-2}, num_classes]` and dtype `float32` or `float64`. +* `labels`: `Tensor` of shape `[d_0, d_1, ..., d_{r-1}]` (where `r` is rank of + `labels` and result) and dtype `int32` or `int64`. Each entry in `labels` + must be an index in `[0, num_classes)`. Other values will raise an + exception when this op is run on CPU, and return `NaN` for corresponding + loss and gradient rows on GPU. +* `logits`: Unscaled log probabilities of shape + `[d_0, d_1, ..., d_{r-1}, num_classes]` and dtype `float32` or `float64`. * `name`: A name for the operation (optional). ##### Returns: diff --git a/tensorflow/g3doc/api_docs/python/index.md b/tensorflow/g3doc/api_docs/python/index.md index c049c5d6b98..424448acfd9 100644 --- a/tensorflow/g3doc/api_docs/python/index.md +++ b/tensorflow/g3doc/api_docs/python/index.md @@ -260,7 +260,6 @@ * [`minimum`](../../api_docs/python/math_ops.md#minimum) * [`mod`](../../api_docs/python/math_ops.md#mod) * [`multiply`](../../api_docs/python/math_ops.md#multiply) - * [`neg`](../../api_docs/python/math_ops.md#neg) * [`negative`](../../api_docs/python/math_ops.md#negative) * [`norm`](../../api_docs/python/math_ops.md#norm) * [`polygamma`](../../api_docs/python/math_ops.md#polygamma) diff --git a/tensorflow/g3doc/api_docs/python/math_ops.md b/tensorflow/g3doc/api_docs/python/math_ops.md index 92b001f8985..76636dc6f06 100644 --- a/tensorflow/g3doc/api_docs/python/math_ops.md +++ b/tensorflow/g3doc/api_docs/python/math_ops.md @@ -3720,24 +3720,3 @@ invert_permutation(x) ==> [2, 4, 3, 0, 1] A `Tensor`. Has the same type as `x`. 1-D. - -## Other Functions and Classes -- - - - -### `tf.neg(x, name=None)` {#neg} - -Computes numerical negative value element-wise. - -I.e., \\(y = -x\\). - -##### Args: - - -* `x`: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`. -* `name`: A name for the operation (optional). - -##### Returns: - - A `Tensor`. Has the same type as `x`. - - diff --git a/tensorflow/g3doc/api_docs/python/nn.md b/tensorflow/g3doc/api_docs/python/nn.md index 84aaa5c5c9a..5d64aaf072f 100644 --- a/tensorflow/g3doc/api_docs/python/nn.md +++ b/tensorflow/g3doc/api_docs/python/nn.md @@ -2370,13 +2370,13 @@ this function.** _sentinel: Used to prevent positional parameters. Internal, do not use. -* `labels`: `Tensor` of shape `[d_0, d_1, ..., d_{r-2}]` and dtype `int32` or - `int64`. Each entry in `labels` must be an index in `[0, num_classes)`. - Other values will raise an exception when this op is run on CPU, and - return `NaN` for corresponding corresponding loss and gradient rows - on GPU. -* `logits`: Unscaled log probabilities of rank `r` and shape - `[d_0, d_1, ..., d_{r-2}, num_classes]` and dtype `float32` or `float64`. +* `labels`: `Tensor` of shape `[d_0, d_1, ..., d_{r-1}]` (where `r` is rank of + `labels` and result) and dtype `int32` or `int64`. Each entry in `labels` + must be an index in `[0, num_classes)`. Other values will raise an + exception when this op is run on CPU, and return `NaN` for corresponding + loss and gradient rows on GPU. +* `logits`: Unscaled log probabilities of shape + `[d_0, d_1, ..., d_{r-1}, num_classes]` and dtype `float32` or `float64`. * `name`: A name for the operation (optional). ##### Returns: