gpflow.inducing_variables.inducing_variables#

Classes#

gpflow.inducing_variables.inducing_variables.InducingPointsBase#

class gpflow.inducing_variables.inducing_variables.InducingPointsBase(Z, name=None)[source]#

Bases: InducingVariables

Parameters:
  • Z (Union[int, float, Sequence[Any], ndarray[Any, Any], Tensor, Variable, Parameter]) –

  • name (Optional[str]) –

property num_inducing: Tensor | None#

Returns the number of inducing variables, relevant for example to determine the size of the variational distribution.

property shape: Tuple[int | None, ...] | None#

Return the shape of these inducing variables.

Shape should be some variation of [M, D, P], where:

  • M is the number of inducing variables.

  • D is the number of input dimensions.

  • P is the number of output dimensions (1 if this is not a multi-output inducing variable).