code: def initializeHyperparametersFromExactSolution(sparse_model):
      sparse_model.likelihood.variance.assign(
          exact_model.likelihood.variance
      )
      sparse_model.kernel.variance.assign(exact_model.kernel.variance)
      sparse_model.kernel.lengthscales.assign(
          exact_model.kernel.lengthscales
      )
  
imports: import matplotlib.pyplot
  from FITCvsVFE import getTrainingTestData, plotComparisonFigure, plotPredictions, printModelParameters, repeatMinimization, stretch
  import gpflow
  from gpflow.ci_utils import reduce_in_tests
label_desc: Use image node_id 2 for calling a global function with example usage: initializeHyperparametersFromExactSolution(sparse_model) without return types