Fix merge error in 688a03d639

This commit is contained in:
Gaurav Jain 2019-09-14 15:05:29 -07:00
parent a1463b9d18
commit c09880bd0f

View File

@ -444,7 +444,7 @@ class ExponentialMovingAverage(object):
"Variable", "VariableV2", "VarHandleOp"
]))
if self._zero_debias:
zero_debias_true.add(avg)
zero_debias_true.add(avg.experimental_ref())
self._averages[var.experimental_ref()] = avg
with ops.name_scope(self.name) as scope: