code: def testPdfOfSampleMultiDims(self):
      student = student_t.StudentT(
          df=[7.0, 11.0], loc=[[5.0], [6.0]], scale=3.0
      )
      self.assertAllEqual([], student.event_shape)
      self.assertAllEqual(
          [], self.evaluate(student.event_shape_tensor())
      )
      self.assertAllEqual([2, 2], student.batch_shape)
      self.assertAllEqual(
          [2, 2], self.evaluate(student.batch_shape_tensor())
      )
      num = 50000
      samples = student.sample(num, seed=123456)
      pdfs = student.prob(samples)
      sample_vals, pdf_vals = self.evaluate([samples, pdfs])
      self.assertEqual(samples.get_shape(), (num, 2, 2))
      self.assertEqual(pdfs.get_shape(), (num, 2, 2))
      self.assertNear(5.0, np.mean(sample_vals[:, 0, :]), err=0.1)
      self.assertNear(6.0, np.mean(sample_vals[:, 1, :]), err=0.1)
      self._assertIntegral(
          sample_vals[:, 0, 0], pdf_vals[:, 0, 0], err=0.05
      )
      self._assertIntegral(
          sample_vals[:, 0, 1], pdf_vals[:, 0, 1], err=0.05
      )
      self._assertIntegral(
          sample_vals[:, 1, 0], pdf_vals[:, 1, 0], err=0.05
      )
      self._assertIntegral(
          sample_vals[:, 1, 1], pdf_vals[:, 1, 1], err=0.05
      )
      if not stats:
          return
      self.assertNear(
          stats.t.var(7.0, loc=0.0, scale=3.0),  # loc d.n. effect var
          np.var(sample_vals[:, :, 0]),
          err=1.0,
      )
      self.assertNear(
          stats.t.var(11.0, loc=0.0, scale=3.0),  # loc d.n. effect var
          np.var(sample_vals[:, :, 1]),
          err=1.0,
      )
  
imports: import importlib
  import math
  import numpy
  from tensorflow.python.eager import backprop
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops.distributions import student_t
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 22 for calling the StudentTTest obj's underlying member method code with example usage: obj.testPdfOfSampleMultiDims() without return types