code: def _testBatchShapes(self, dist, tensor):
      self.assertAllEqual(
          self.evaluate(dist.batch_shape_tensor()), tensor.shape
      )
      self.assertAllEqual(
          self.evaluate(dist.batch_shape_tensor()),
          self.evaluate(tensor).shape,
      )
      self.assertAllEqual(dist.batch_shape, tensor.shape)
      self.assertAllEqual(dist.batch_shape, self.evaluate(tensor).shape)
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import half_normal
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 6 for calling the HalfNormalTest obj's underlying member method code with example usage: obj._testBatchShapes(dist, tensor) without return types