Update docs for tf.reduce_prod and tf.reduce_mean
authorYong Tang <yong.tang.github@outlook.com>
Wed, 23 May 2018 20:59:22 +0000 (20:59 +0000)
committerYong Tang <yong.tang.github@outlook.com>
Wed, 23 May 2018 20:59:40 +0000 (20:59 +0000)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/python/ops/math_ops.py

index 249b6b1..26307ba 100644 (file)
@@ -1397,7 +1397,7 @@ def reduce_mean(input_tensor,
   entry in `axis`. If `keepdims` is true, the reduced dimensions
   are retained with length 1.
 
-  If `axis` has no entries, all dimensions are reduced, and a
+  If `axis` is None, all dimensions are reduced, and a
   tensor with a single element is returned.
 
   For example:
@@ -1469,7 +1469,7 @@ def reduce_prod(input_tensor,
   entry in `axis`. If `keepdims` is true, the reduced dimensions
   are retained with length 1.
 
-  If `axis` has no entries, all dimensions are reduced, and a
+  If `axis` is None, all dimensions are reduced, and a
   tensor with a single element is returned.
 
   Args: