gpflow.utilities.parameter_or_function#

Functions#

gpflow.utilities.parameter_or_function.evaluate_parameter_or_function#

gpflow.utilities.parameter_or_function.evaluate_parameter_or_function(value, X, *, lower_bound=None)[source]#
Parameters:
  • value (Union[Function, Parameter]) –

  • X (Union[ndarray[Any, Any], Tensor, Variable, Parameter]) –

  • lower_bound (Optional[float]) –

Return type:

Union[ndarray[Any, Any], Tensor, Variable, Parameter]

gpflow.utilities.parameter_or_function.prepare_parameter_or_function#

gpflow.utilities.parameter_or_function.prepare_parameter_or_function(value, *, lower_bound=None)[source]#
Parameters:
  • value (Union[Function, int, float, Sequence[Any], ndarray[Any, Any], Tensor, Variable, Parameter]) –

  • lower_bound (Optional[float]) –

Return type:

Union[Function, Parameter]