gpflow.expectations.quadratures

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
Return type

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