aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-11-09 14:18:18 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-09 14:25:12 -0800
commite8ba1356cbbff8c572c6cc614297540185699b20 (patch)
treefbfcf2fb1ded23b08a30127889b9dab9d3e933a7
parent430b00d125e03a333aac505e251f4009062f961a (diff)
Explicitly set `zero_debias` in moving averages to the default. This CL is a noop.
Change: 138684361
-rw-r--r--tensorflow/contrib/training/python/training/resample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/training/python/training/resample.py b/tensorflow/contrib/training/python/training/resample.py
index 9dd3bef2de..031da4d7de 100644
--- a/tensorflow/contrib/training/python/training/resample.py
+++ b/tensorflow/contrib/training/python/training/resample.py
@@ -177,7 +177,7 @@ def weighted_resample(inputs, weights, overall_rate, scope=None,
batch_mean = math_ops.reduce_mean(weights)
mean = moving_averages.assign_moving_average(
- estimated_mean, batch_mean, real_decay)
+ estimated_mean, batch_mean, real_decay, zero_debias=False)
# Then, normalize the weights into rates using the mean weight and
# overall target rate: