code: def testSampleMultipleTimes(self):
      df = tf.constant(4.0)
      loc = tf.constant(3.0)
      sigma = tf.constant(math.sqrt(10.0))
      n = tf.constant(100)
      seed = test_util.test_seed()
  
      tf.random.set_seed(seed)
      half_student = half_student_t.HalfStudentT(
          df=df,
          loc=loc,
          scale=sigma,
          name="half_student_t1",
          validate_args=True,
      )
      samples1 = self.evaluate(half_student.sample(n, seed=seed))
  
      tf.random.set_seed(seed)
      half_student2 = half_student_t.HalfStudentT(
          df=df,
          loc=loc,
          scale=sigma,
          name="half_student_t2",
          validate_args=True,
      )
      samples2 = self.evaluate(half_student2.sample(n, seed=seed))
  
      self.assertAllClose(samples1, samples2)
  
imports: import math
  import numpy
  from scipy import stats
  from scipy.special import gamma
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import half_student_t
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import assert_util
  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 HalfStudentTTest obj's underlying member method code with example usage: obj.testSampleMultipleTimes() without return types