code: def test_iid_normal_passes(self):
      n_samples = 500
      # five scalar chains taken from iid Normal(0, 1)
      rng = test_util.test_np_rng()
      iid_normal_samples = rng.randn(n_samples, 5)
      rhat_reducer = psrr.PotentialScaleReductionReducer(
          independent_chain_ndims=1
      )
      rhat = self.evaluate(
          test_fixtures.reduce(rhat_reducer, iid_normal_samples)
      )
      self.assertAllEqual((), rhat.shape)
      self.assertAllClose(1.0, rhat, rtol=0.02)
  
file_path: probability/tensorflow_probability/python/experimental/mcmc/potential_scale_reduction_reducer_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.experimental.mcmc import potential_scale_reduction_reducer
  from tensorflow_probability.python.experimental.mcmc import tracing_reducer
  from tensorflow_probability.python.experimental.mcmc.internal import test_fixtures
  from tensorflow_probability.python.experimental.mcmc.sample_fold import sample_fold
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.mcmc import diagnostic
  from tensorflow_probability.python.mcmc import hmc
label_desc: Use image node_id 2 for calling the PotentialScaleReductionReducerTest obj's underlying member method code with example usage: obj.test_iid_normal_passes() without return types