code: def evaluate_parameter_or_function(
      value: ParameterOrFunction,
      X: TensorType,
      *,
      lower_bound: Optional[float] = None,
  ) -> TensorType:
      if isinstance(value, Function):
          result = value(X)
          if lower_bound is not None:
              result = tf.maximum(result, lower_bound)
          return result
      else:
          return value
  
file_path: GPflow/gpflow/utilities/parameter_or_function.py
imports: from typing import Optional, Union
  import tensorflow
  from check_shapes import check_shapes
  from ..base import Parameter, TensorData, TensorType
  from ..functions import Function
  from .None import positive
label_desc: Use image node_id 2 for calling a global function with example usage: evaluate_parameter_or_function(value, X) and returns: result, value