code: def test_add_likelihood_noise_cov() -> None:
      K = tf.constant(
          [
              [0.11, 0.12, 0.13],
              [0.21, 0.22, 0.23],
              [0.31, 0.32, 0.33],
          ],
          dtype=gpflow.default_float(),
      )
      variance = gpflow.functions.Linear(A=[[0.2]], b=0.1)
      likelihood = gpflow.likelihoods.Gaussian(variance=variance)
      X = tf.constant(
          [[2.0], [4.0], [3.0]], dtype=gpflow.default_float()
      )
      actual_tensor = add_likelihood_noise_cov(K, likelihood, X)
  
      np.testing.assert_allclose(
          [
              [0.61, 0.12, 0.13],
              [0.21, 1.12, 0.23],
              [0.31, 0.32, 1.03],
          ],
          actual_tensor,
      )
  
file_path: GPflow/tests/gpflow/utilities/test_model_utils.py
imports: import numpy
  import pytest
  import tensorflow
  import gpflow
  from gpflow.base import TensorType
  from gpflow.utilities import add_likelihood_noise_cov, add_noise_cov, assert_params_false
label_desc: Use image node_id 4 for calling a global function with example usage: test_add_likelihood_noise_cov() without return types