code: def testBroadcastingParams(self):
      def _check(half_student):
          self.assertEqual(half_student.mean().shape, (3,))
          self.assertEqual(half_student.variance().shape, (3,))
          self.assertEqual(half_student.entropy().shape, (3,))
          self.assertEqual(half_student.log_prob(6.0).shape, (3,))
          self.assertEqual(half_student.prob(6.0).shape, (3,))
          self.assertEqual(
              half_student.sample(37, seed=test_util.test_seed()).shape,
              (
                  37,
                  3,
              ),
          )
  
      _check(
          half_student_t.HalfStudentT(
              df=[
                  2.0,
                  3.0,
                  4.0,
              ],
              loc=2.0,
              scale=1.0,
              validate_args=True,
          )
      )
      _check(
          half_student_t.HalfStudentT(
              df=7.0,
              loc=[
                  2.0,
                  3.0,
                  4.0,
              ],
              scale=1.0,
              validate_args=True,
          )
      )
      _check(
          half_student_t.HalfStudentT(
              df=7.0,
              loc=3.0,
              scale=[
                  2.0,
                  3.0,
                  4.0,
              ],
              validate_args=True,
          )
      )
  
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 10 for calling the HalfStudentTTest obj's underlying member method code with example usage: obj.testBroadcastingParams() without return types