code: def testChi2Quantile(self):
      batch_size = 6
      df = np.linspace(1.0, 20.0, batch_size).astype(np.float64)[
          ..., np.newaxis
      ]
      x = np.linspace(0.0, 1.0, 13).astype(np.float64)
      dist = chi2.Chi2(df=df, validate_args=True)
      expected_quantile = stats.chi2.ppf(x, df)
  
      quantile = dist.quantile(x)
      self.assertEqual(quantile.shape, (batch_size, 13))
      self.assertAllClose(self.evaluate(quantile), expected_quantile)
  
imports: import numpy
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import chi2
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 5 for calling the Chi2Test obj's underlying member method code with example usage: obj.testChi2Quantile() without return types