code: def test_old_vs_new_svgp(
      q_diag: bool,
      white: bool,
      multioutput: Optional[Tuple[str, str]],
      full_cov: bool,
      full_output_cov: bool,
  ) -> None:
      mold, mnew = make_models(
          q_diag=q_diag, whiten=white, mo=multioutput
      )
  
      X = np.random.randn(100, input_dim)
  
      mu, var = mnew.predict_f(
          X, full_cov=full_cov, full_output_cov=full_output_cov
      )
      mu2, var2 = mold.predict_f(
          X, full_cov=full_cov, full_output_cov=full_output_cov
      )
      np.testing.assert_allclose(mu, mu2)
      np.testing.assert_allclose(var, var2)
  
file_path: GPflow/tests/gpflow/models/test_svgp_posterior.py
imports: from itertools import product
  from typing import Optional, Tuple
  import numpy
  import pytest
  import tensorflow
  import gpflow
  from gpflow.base import AnyNDArray
  from gpflow.models.svgp import SVGP_deprecated, SVGP_with_posterior
label_desc: Use image node_id 2 for calling a global function with example usage: test_old_vs_new_svgp(q_diag, white, multioutput, full_cov, full_output_cov) without return types