code: def testResetWithTFFunction(self, autograph):
      ema = moving_averages.ExponentialMovingAverage(0.90)
      ema_func = tf.function(ema, autograph=autograph)
      self.assertAllClose(
          ema_func(3.0).numpy(), 3.0, atol=1e-3, rtol=1e-5
      )
  
      ema.reset()
      self.assertEqual(ema.value.numpy(), 0.0)
  
      self.assertAllClose(
          ema_func(3.0).numpy(), 3.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 7 for calling the ExponentialMovingAverageTest obj's underlying member method code with example usage: obj.testResetWithTFFunction(autograph) without return types