aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Geoffrey Irving <geoffreyi@google.com>2016-01-14 10:20:12 -0800
committerGravatar Vijay Vasudevan <vrv@google.com>2016-01-14 18:56:14 -0800
commit90644c9db115ee99a2a14ba462d70b822ec0804d (patch)
treee0416237c9f616bbe4b4bf0e9497496f7639628c
parent05a172d5941a67210109b532a43c08c32ace3226 (diff)
Run gendocs
Change: 112164149
-rw-r--r--tensorflow/g3doc/api_docs/python/array_ops.md2
-rw-r--r--tensorflow/g3doc/api_docs/python/control_flow_ops.md12
-rw-r--r--tensorflow/g3doc/api_docs/python/image.md9
-rw-r--r--tensorflow/g3doc/api_docs/python/nn.md7
4 files changed, 18 insertions, 12 deletions
diff --git a/tensorflow/g3doc/api_docs/python/array_ops.md b/tensorflow/g3doc/api_docs/python/array_ops.md
index 6f59722d01..ae07a6d0ff 100644
--- a/tensorflow/g3doc/api_docs/python/array_ops.md
+++ b/tensorflow/g3doc/api_docs/python/array_ops.md
@@ -753,7 +753,7 @@ output[2:, :, 3, :, ...] = input[2:, :, 3, :, ...]
* <b>`input`</b>: A `Tensor`. The input to reverse.
* <b>`seq_lengths`</b>: A `Tensor` of type `int64`.
- 1-D with length `input.dims(0)` and
+ 1-D with length `input.dims(batch_dim)` and
`max(seq_lengths) < input.dims(seq_dim)`
* <b>`seq_dim`</b>: An `int`. The dimension which is partially reversed.
* <b>`batch_dim`</b>: An optional `int`. Defaults to `0`.
diff --git a/tensorflow/g3doc/api_docs/python/control_flow_ops.md b/tensorflow/g3doc/api_docs/python/control_flow_ops.md
index 276121b1a0..45cb06b81b 100644
--- a/tensorflow/g3doc/api_docs/python/control_flow_ops.md
+++ b/tensorflow/g3doc/api_docs/python/control_flow_ops.md
@@ -220,7 +220,7 @@ Returns the truth value of (x == y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `complex64`, `quint8`, `qint8`, `qint32`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `uint8`, `int8`, `int16`, `int32`, `int64`, `complex64`, `quint8`, `qint8`, `qint32`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
@@ -238,7 +238,7 @@ Returns the truth value of (x != y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `complex64`, `quint8`, `qint8`, `qint32`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `uint8`, `int8`, `int16`, `int32`, `int64`, `complex64`, `quint8`, `qint8`, `qint32`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
@@ -256,7 +256,7 @@ Returns the truth value of (x < y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `uint8`, `int16`, `int8`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
@@ -274,7 +274,7 @@ Returns the truth value of (x <= y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `uint8`, `int16`, `int8`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
@@ -292,7 +292,7 @@ Returns the truth value of (x > y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `uint8`, `int16`, `int8`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
@@ -310,7 +310,7 @@ Returns the truth value of (x >= y) element-wise.
##### Args:
-* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`.
+* <b>`x`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `uint8`, `int16`, `int8`.
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`.
* <b>`name`</b>: A name for the operation (optional).
diff --git a/tensorflow/g3doc/api_docs/python/image.md b/tensorflow/g3doc/api_docs/python/image.md
index 4b0a148a14..938a3b7ffd 100644
--- a/tensorflow/g3doc/api_docs/python/image.md
+++ b/tensorflow/g3doc/api_docs/python/image.md
@@ -803,10 +803,11 @@ casting.
Note that converting from floating point inputs to integer types may lead to
over/underflow problems. Set saturate to `True` to avoid such problem in
-problematic conversions. Saturation will clip the output into the allowed
-range before performing a potentially dangerous cast (i.e. when casting from
-a floating point to an integer type, or when casting from an signed to an
-unsigned type).
+problematic conversions. If enabled, saturation will clip the output into the
+allowed range before performing a potentially dangerous cast (and only before
+performing such a cast, i.e., when casting from a floating point to an integer
+type, and when casting from a signed to an unsigned type; `saturate` has no
+effect on casts between floats, or on casts that increase the type's range).
##### Args:
diff --git a/tensorflow/g3doc/api_docs/python/nn.md b/tensorflow/g3doc/api_docs/python/nn.md
index 418be25ca3..20efa7c655 100644
--- a/tensorflow/g3doc/api_docs/python/nn.md
+++ b/tensorflow/g3doc/api_docs/python/nn.md
@@ -692,7 +692,12 @@ and a dog at the same time.
For brevity, let `x = logits`, `z = targets`. The logistic loss is
- x - x * z + log(1 + exp(-x))
+ z * -log(sigmoid(x)) + (1 - z) * -log(1 - sigmoid(x))
+ = z * -log(1 / (1 + exp(-x))) + (1 - z) * -log(exp(-x) / (1 + exp(-x)))
+ = z * log(1 + exp(-x)) + (1 - z) * (-log(exp(-x)) + log(1 + exp(-x)))
+ = z * log(1 + exp(-x)) + (1 - z) * (x + log(1 + exp(-x))
+ = (1 - z) * x + log(1 + exp(-x))
+ = x - x * z + log(1 + exp(-x))
To ensure stability and avoid overflow, the implementation uses