class_docstr: Compare gp.LatentKron to gp.Latent, both with Gaussian noise.
class_docstr_tok: ["Compare","gp.LatentKron","to","gp.Latent",",","both","with","Gaussian","noise","."]
code: def testLatentKronRaisesSizes(self):
      with pm.Model() as kron_model:
          gp = pm.gp.LatentKron(
              mean_func=self.mean, cov_funcs=self.cov_funcs
          )
      with pytest.raises(ValueError):
          gp.prior(
              "f",
              Xs=[
                  np.linspace(0, 1, 7)[:, None],
                  np.linspace(0, 1, 5)[:, None],
              ],
          )
  
imports: from functools import reduce
  from operator import add
  import numpy
  import numpy.testing
  import pytest
  import pymc
  from pymc.math import cartesian
label_desc: Use image node_id 4 for calling the TestLatentKron obj's underlying member method code with example usage: obj.testLatentKronRaisesSizes() without return types