(self, decay, global_step=None)
return tf.train.ExponentialMovingAverage(
        decay, global_step or tf.train.get_or_create_global_step())
make var average ema
make var average ema
make var average ema
def get_var_avg_ema(self, decay, global_step=None):
    ''' make var average ema '''
    return tf.train.ExponentialMovingAverage(
        decay, global_step or tf.train.get_or_create_global_step())
def get_var_avg_ema ( self , decay , global_step = None ) : return tf . train . ExponentialMovingAverage ( decay , global_step or tf . train . get_or_create_global_step ( ) )