Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gpytorch/variational/_variational_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def forward(
:param inducing_values: Samples of the inducing function values :math:`\mathbf u`
(or the mean of the distribution :math:`q(\mathbf u)` if q is a Gaussian.
:param variational_inducing_covar: If
the distribuiton :math:`q(\mathbf u)` is
the distribution :math:`q(\mathbf u)` is
Gaussian, then this variable is the covariance matrix of that Gaussian.
Otherwise, it will be None.
:param diag: If true and this module is in train mode, this method is allowed to skip the off-diagonal entries
Expand Down Expand Up @@ -377,6 +377,6 @@ def __call__(self, x: Tensor, prior: bool = False, diag: bool = True, **kwargs)
)
else:
raise RuntimeError(
f"Invalid variational distribuition ({type(variational_dist_u)}). "
f"Invalid variational distribution ({type(variational_dist_u)}). "
"Expected a multivariate normal or a delta distribution."
)