code: def testValueEqualsLatestUpdate(self):
      ema = moving_averages.ExponentialMovingAverage(0.50)
  
      self.assertAllClose(ema(3.0).numpy(), 3.0, atol=1e-3, rtol=1e-5)
      self.assertAllClose(ema.value.numpy(), 3.0, atol=1e-3, rtol=1e-5)
  
      self.assertAllClose(ema(6.0).numpy(), 5.0, atol=1e-3, rtol=1e-5)
      self.assertAllClose(ema.value.numpy(), 5.0, atol=1e-3, rtol=1e-5)
  
file_path: sonnet/sonnet/src/moving_averages_test.py
imports: from absl.testing import parameterized
  from sonnet.src import moving_averages
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 5 for calling the ExponentialMovingAverageTest obj's underlying member method code with example usage: obj.testValueEqualsLatestUpdate() without return types