近来看batch normalization的代码时,遇到tf.train.ExponentialMovingAverage()函数,特此记录. tf.train.ExponentialMovingAverage()函数实现滑动平均模型和计算变量的移动平均值. TensorFlow官网上对于这个方法的介绍: Some training algorithms, such as GradientDescent and Momentum often benefit from maintaining a