code: def testAlternativeShape(self, shape):
      ema = moving_averages.ExponentialMovingAverage(0.90)
      value = tf.random.uniform(shape)
      result = ema(value)
      self.assertEqual(value.shape, result.shape)
  
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 8 for calling the ExponentialMovingAverageTest obj's underlying member method code with example usage: obj.testAlternativeShape(shape) without return types