gpflow.expectations.quadratures¶
Functions¶
gpflow.expectations.quadratures.get_eval_func¶
- gpflow.expectations.quadratures.get_eval_func(obj, inducing_variable, slice=None)[source]¶
Return the function of interest (kernel or mean) for the expectation depending on the type of :obj: and whether any inducing are given
- Parameters:
obj (
Union[Kernel,MeanFunction,None])inducing_variable (
Optional[InducingVariables])slice (
Union[slice,Any,None])
- Return type:
Callable[[Union[ndarray[Any,Any],Tensor,Variable,Parameter]],Tensor]