code: def testChiLogPDF(self):
      df = np.arange(1, 6, dtype=np.float64)
      x = np.arange(1, 6, dtype=np.float64)
  
      df = df.reshape((len(df), 1))
      x = x.reshape((1, len(x)))
  
      dist = chi.Chi(df=df, validate_args=True)
      expected_log_pdf = stats.chi.logpdf(x, df)
  
      log_pdf = dist.log_prob(x)
      self.assertEqual(log_pdf.shape, np.broadcast(df, x).shape)
      self.assertAllClose(self.evaluate(log_pdf), expected_log_pdf)
  
      pdf = dist.prob(x)
      self.assertEqual(pdf.shape, np.broadcast(df, x).shape)
      self.assertAllClose(self.evaluate(pdf), np.exp(expected_log_pdf))
  
imports: import numpy
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import chi
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the ChiTest obj's underlying member method code with example usage: obj.testChiLogPDF() without return types