code: def test_kmeans(self):
      X = self.x[:, None]
      Xu = pm.gp.util.kmeans_inducing_points(2, X).flatten()
      npt.assert_allclose(
          np.asarray(self.centers), np.sort(Xu), rtol=0.05
      )
  
      X = pt.as_tensor_variable(self.x[:, None])
      Xu = pm.gp.util.kmeans_inducing_points(2, X).flatten()
      npt.assert_allclose(
          np.asarray(self.centers), np.sort(Xu), rtol=0.05
      )
  
file_path: pymc/tests/gp/test_util.py
imports: import numpy
  import numpy.testing
  import pytensor.tensor
  import pytest
  import pymc
label_desc: Use image node_id 2 for calling the TestKmeansInducing obj's underlying member method code with example usage: obj.test_kmeans() without return types