code: def test_bayesian_gplvm_constructor_check() -> None:
      Q = 1
      kernel = gpflow.kernels.SquaredExponential()
      inducing_variable = np.linspace(0, 1, Data.M)[:, None]
      with pytest.raises(ValueError):
          gpflow.models.BayesianGPLVM(
              Data.Y,
              np.zeros((Data.N, Q)),
              np.ones((Data.N, Q)),
              kernel,
              inducing_variable=inducing_variable,
              num_inducing_variables=len(inducing_variable),
          )
  
file_path: GPflow/tests/gpflow/models/test_gplvm.py
imports: from typing import Optional
  import numpy
  import pytest
  import gpflow
  from gpflow.utilities.ops import pca_reduce
label_desc: Use image node_id 5 for calling a global function with example usage: test_bayesian_gplvm_constructor_check() without return types