code: def testSampleSmallDfNoNan(self):
      df_v = [1e-1, 1e-5, 1e-10, 1e-20]
      df = tf.constant(df_v)
      n = tf.constant(200000)
      half_student = half_student_t.HalfStudentT(
          df=df, loc=1.0, scale=1.0, validate_args=True
      )
      samples = half_student.sample(n, seed=test_util.test_seed())
      sample_values = self.evaluate(samples)
      n_val = 200000
      self.assertEqual(sample_values.shape, (n_val, 4))
      self.assertTrue(np.all(np.logical_not(np.isnan(sample_values))))
  
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 7 for calling the HalfStudentTTest obj's underlying member method code with example usage: obj.testSampleSmallDfNoNan() without return types