code: def test_old_vs_new_gp_fused(
      sgpr_deprecated_model: SGPR_deprecated,
      sgpr_model: SGPR,
      dummy_data: Tuple[InputData, InputData, OutputData],
      full_cov: bool,
      full_output_cov: bool,
  ) -> None:
      _, X_new, _ = dummy_data
  
      mu_old, var2_old = sgpr_deprecated_model.predict_f(
          X_new, full_cov=full_cov, full_output_cov=full_output_cov
      )
      mu_new_fuse, var2_new_fuse = sgpr_model.predict_f(
          X_new, full_cov=full_cov, full_output_cov=full_output_cov
      )
  
      # check new fuse is same as old version
      np.testing.assert_allclose(mu_new_fuse, mu_old)
      np.testing.assert_allclose(var2_new_fuse, var2_old)
  
file_path: GPflow/tests/gpflow/models/test_sgpr_posterior.py
imports: from typing import Tuple
  import numpy
  import pytest
  import tensorflow
  from check_shapes import check_shapes
  import gpflow
  from gpflow.base import InputData, OutputData
  from gpflow.inducing_variables import InducingPoints
  from gpflow.models.sgpr import SGPR, SGPR_deprecated
  from gpflow.posteriors import PrecomputeCacheType
label_desc: Use image node_id 4 for calling a global function with example usage: test_old_vs_new_gp_fused(sgpr_deprecated_model, sgpr_model, dummy_data, full_cov, full_output_cov) without return types