code: def testLogProbMatchesMVT(self):
      df = tf.convert_to_tensor(3.0)
      index_points = tf.convert_to_tensor(
          [[-1.0, 0.0], [-0.5, -0.5], [1.5, 0.0], [1.6, 1.5]]
      )
      amplitude = tf.convert_to_tensor(1.1)
      length_scale = tf.convert_to_tensor(0.9)
      kernel = psd_kernels.ExponentiatedQuadratic(
          amplitude, length_scale
      )
  
      stp = student_t_process.StudentTProcess(
          df=df,
          kernel=kernel,
          index_points=index_points,
          mean_fn=lambda x: tf.reduce_mean(x, axis=-1),
          observation_noise_variance=0.05,
          jitter=0.0,
      )
      x = stp.sample(5, seed=test_util.test_seed())
      scale = kernel.matrix(index_points, index_points)
      scale = tf.linalg.set_diag(
          scale, tf.linalg.diag_part(scale) + 0.05
      )
      scale = (df - 2.0) / df * scale
      scale = tf.linalg.cholesky(scale)
      mvt = mvst.MultivariateStudentTLinearOperator(
          loc=tf.reduce_mean(index_points, axis=-1),
          df=df,
          scale=tf.linalg.LinearOperatorLowerTriangular(scale),
      )
      actual_log_prob, expected_log_prob = self.evaluate(
          [stp.log_prob(x), mvt.log_prob(x)]
      )
      self.assertAllClose(actual_log_prob, expected_log_prob)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import multivariate_student_t
  from tensorflow_probability.python.distributions import student_t_process
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math import psd_kernels
  from tensorflow_probability.python.math.psd_kernels.internal import test_util
label_desc: Use image node_id 7 for calling the _StudentTProcessTest obj's underlying member method code with example usage: obj.testLogProbMatchesMVT() without return types