aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/nn.py
diff options
context:
space:
mode:
authorGravatar Patrick Nguyen <drpng@google.com>2016-09-28 22:41:57 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-09-28 23:50:16 -0700
commitdd7d5dc68ec6b0bb07fa4fd7b9f427f84d348fc2 (patch)
treec7273f65dd17c76970e98f478a2f23f983f50be6 /tensorflow/python/ops/nn.py
parent4f5e09078449835f5b5540835eb438ab87bb6e09 (diff)
Fix broken lists in documentation, and back-quote more identifiers.
Change: 134628004
Diffstat (limited to 'tensorflow/python/ops/nn.py')
-rw-r--r--tensorflow/python/ops/nn.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tensorflow/python/ops/nn.py b/tensorflow/python/ops/nn.py
index 6ee13d28aa..958c32f0fc 100644
--- a/tensorflow/python/ops/nn.py
+++ b/tensorflow/python/ops/nn.py
@@ -742,6 +742,7 @@ def sufficient_statistics(x, axes, shift=None, keep_dims=False, name=None):
Returns:
Four `Tensor` objects of the same type as `x`:
+
* the count (number of elements to average over).
* the (possibly shifted) sum of the elements in the array.
* the (possibly shifted) sum of squares of the elements in the array.
@@ -811,9 +812,10 @@ def moments(x, axes, shift=None, name=None, keep_dims=False):
When using these moments for batch normalization (see
`tf.nn.batch_normalization`):
- * for so-called "global normalization", used with convolutional filters with
- shape `[batch, height, width, depth]`, pass `axes=[0, 1, 2]`.
- * for simple batch normalization pass `axes=[0]` (batch only).
+
+ * for so-called "global normalization", used with convolutional filters with
+ shape `[batch, height, width, depth]`, pass `axes=[0, 1, 2]`.
+ * for simple batch normalization pass `axes=[0]` (batch only).
Args:
x: A `Tensor`.
@@ -863,6 +865,7 @@ def batch_normalization(x,
`mean`, `variance`, `offset` and `scale` are all expected to be of one of two
shapes:
+
* In all generality, they can have the same number of dimensions as the
input `x`, with identical sizes as `x` for the dimensions that are not
normalized over (the 'depth' dimension(s)), and dimension 1 for the