code: def testLateBindingIndexPoints(self):
      amp = np.float64(0.5)
      len_scale = np.float64(0.2)
      kernel = psd_kernels.ExponentiatedQuadratic(amp, len_scale)
      mean_fn = lambda x: x[..., 0] ** 2
      jitter = np.float64(1e-4)
  
      tp = student_t_process.StudentTProcess(
          df=np.float64(3.0),
          kernel=kernel,
          mean_fn=mean_fn,
          jitter=jitter,
          validate_args=True,
      )
  
      index_points = np.random.uniform(-1.0, 1.0, [5, 10, 1]).astype(
          np.float64
      )
  
      # Check that the internal batch_shape and event_shape methods work.
      self.assertAllEqual(
          [5], tp._batch_shape(index_points=index_points)
      )  # pylint: disable=protected-access
      self.assertAllEqual(
          [10], tp._event_shape(index_points=index_points)
      )  # pylint: disable=protected-access
  
      expected_mean = mean_fn(index_points)
      self.assertAllClose(
          expected_mean,
          self.evaluate(tp.mean(index_points=index_points)),
      )
  
      # Check that late-binding samples work.
      self.evaluate(
          tp.sample(
              seed=test_util.test_seed(), index_points=index_points
          )
      )
  
      def _kernel_fn(x, y):
          return amp**2 * np.exp(
              -0.5 * (np.squeeze((x - y) ** 2)) / (len_scale**2)
          )
  
      expected_covariance = _kernel_fn(
          np.expand_dims(index_points, -3),
          np.expand_dims(index_points, -2),
      )
  
      self.assertAllClose(
          expected_covariance,
          self.evaluate(tp.covariance(index_points=index_points)),
      )
      self.assertAllClose(
          np.diagonal(expected_covariance, axis1=-2, axis2=-1),
          self.evaluate(tp.variance(index_points=index_points)),
      )
      self.assertAllClose(
          np.sqrt(np.diagonal(expected_covariance, axis1=-2, axis2=-1)),
          self.evaluate(tp.stddev(index_points=index_points)),
      )
  
      # Calling mean with no index_points should raise an Error
      with self.assertRaises(ValueError):
          tp.mean()
  
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 5 for calling the _StudentTProcessTest obj's underlying member method code with example usage: obj.testLateBindingIndexPoints() and returns: unknown