code: def testSampleShape(self):
      loc = tf.zeros((1, 1, 3), dtype=tf.float64)
      scale = tf.ones((2, 3), dtype=tf.float64)
      low = -tf.ones((4, 1, 1), dtype=tf.float64)
      high = 1.0
      d = truncated_cauchy.TruncatedCauchy(loc, scale, low, high)
      self.assertAllEqual(
          [7, 2, 4, 2, 3],
          d.sample([7, 2], seed=test_util.test_seed()).shape,
      )
  
file_path: probability/tensorflow_probability/python/distributions/truncated_cauchy_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import cauchy
  from tensorflow_probability.python.distributions import truncated_cauchy
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the TruncatedCauchyTest obj's underlying member method code with example usage: obj.testSampleShape() without return types