aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-02-22 10:36:13 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-22 10:51:03 -0800
commit313eb4f284dc8c7247d4df8991653cecdc26498e (patch)
treea848832e74d283eb675640e59f3e034584e46eac
parent90b9641b7e7da44343644e5b4e221478594a959d (diff)
Fixed the comment to indicate that assign_moving_averages returns a Tensor, not an op.
Change: 148237610
-rw-r--r--tensorflow/python/training/moving_averages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/training/moving_averages.py b/tensorflow/python/training/moving_averages.py
index 0ab8ea983d..eff765c387 100644
--- a/tensorflow/python/training/moving_averages.py
+++ b/tensorflow/python/training/moving_averages.py
@@ -57,7 +57,7 @@ def assign_moving_average(variable, value, decay, zero_debias=True, name=None):
name: Optional name of the returned operation.
Returns:
- An Operation that updates 'variable' with the newly computed
+ A reference to the input 'variable' tensor with the newly computed
moving average.
"""
with ops.name_scope(name, "AssignMovingAvg",