code: def test_select_parameters_with_prior() -> None:
      kernel = gpflow.kernels.SquaredExponential()
      params = gpflow.utilities.select_dict_parameters_with_prior(
          kernel
      )
      assert params == {}
  
      kernel.variance.prior = tfp.distributions.Gamma(1.0, 1.0)
      params = gpflow.utilities.select_dict_parameters_with_prior(
          kernel
      )
      assert len(params) == 1
  
file_path: GPflow/tests/gpflow/utilities/test_utilities.py
imports: from typing import Tuple
  import numpy
  import tensorflow
  import tensorflow_probability
  import gpflow
  from gpflow.base import AnyNDArray
  from gpflow.models.util import data_input_to_tensor
label_desc: Use image node_id 1 for calling a global function with example usage: test_select_parameters_with_prior() without return types