cornellius-gp / gpytorch

A highly efficient implementation of Gaussian Processes in PyTorch
MIT License
3.46k stars 545 forks source link

Added optional `kwargs` to `ExactMarginalLogLikelihood` call #2522

Closed rafaol closed 1 week ago

rafaol commented 1 month ago

Added optional **kwargs to ExactMarginalLogLikelihood.forward call, so that optional keyword arguments can be passed on to the likelihood model. This is required, for example, when using it with FixedNoiseGaussianLikelihood on data that are not part of the training set, as mentioned in this issue: #2516 .