code: def make_models(
      regression_data: RegressionData,
      likelihood: gpflow.likelihoods.Likelihood,
  ) -> Tuple[VGP_deprecated, VGP_with_posterior]:
      """Helper function to create models"""
  
      k = gpflow.kernels.Matern52()
      likelihood = gpflow.likelihoods.Gaussian()
  
      mold = VGP_deprecated(
          data=regression_data, kernel=k, likelihood=likelihood
      )
      mnew = VGP_with_posterior(
          data=regression_data, kernel=k, likelihood=likelihood
      )
      return mold, mnew
  
file_path: GPflow/tests/gpflow/models/test_vgp_posterior.py
imports: from typing import Tuple
  import numpy
  import pytest
  from check_shapes import check_shapes
  import gpflow
  from gpflow.base import AnyNDArray, RegressionData
  from gpflow.models.vgp import VGP_deprecated, VGP_with_posterior
  from gpflow.posteriors import PrecomputeCacheType
label_desc: Use image node_id 1 for calling a global function with example usage: make_models(regression_data, likelihood) and returns: mold,  mnew