code: def test_decay_zero_returns_last_value(self):
      ema = exponential_moving_average.ExponentialMovingAverage(
          decay=0.0
      )
      final_value = 3.0
      variable = tf.Variable(2.0)
  
      ema.apply((variable,))
      variable.assign(final_value)
      ema.apply((variable,))
  
      self.assertAllClose(ema.averaged_variables[0], final_value)
  
imports: import tensorflow
  from tensorflow_graphics.projects.gan import exponential_moving_average
label_desc: Use image node_id 2 for calling the ExponentialMovingAverageTest obj's underlying member method code with example usage: obj.test_decay_zero_returns_last_value() without return types