code: def test_fast_slow_decay_without_update(self):
      ema_fast = moving_averages.ExponentialMovingAverage(0.5)
      ema_slow = moving_averages.ExponentialMovingAverage(0.8)
      # This shouldn't have an effect.
      np.testing.assert_allclose(
          ema_fast(1.0, update_stats=False),
          ema_slow(1.0, update_stats=False),
          rtol=1e-4,
      )
      np.testing.assert_allclose(
          ema_fast(1.0), ema_slow(1.0), rtol=1e-4
      )
      self.assertGreater(ema_fast(2.0), ema_slow(2.0))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import basic
  from haiku._src import moving_averages
  from haiku._src import multi_transform
  from haiku._src import test_utils
  from haiku._src import transform
  import jax
  import jax.numpy
  import jax.random
  import numpy
  import tree
label_desc: Use image node_id 7 for calling the MovingAveragesTest obj's underlying member method code with example usage: obj.test_fast_slow_decay_without_update() without return types