Skip to content

Question: explanation of fit_gpytorch_mll #1433

Answered by j-wilson
matthewcarbone asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @x94carbone, happy to explain what I can. Below, I've provided some details on how the dispatcher works and outlined how parameters (here: keyword arguments) are exposed in the updated API.

  1. Dispatcher

fit_gpytorch_mll uses multiple dispatching to determine "what to do" with a given mll. When called,fit_gpytorch_mll identifies mll instances according to the tuple type(mll), type(mll.likelihood), type(mll.model). This "signature" gets compared with the signatures used to register subroutines via the dispatcher.register mechanic. The dispatcher is responsible* for comparing these signatures and determining the most appropriate choice of subroutine for a given mll.

If the mll's signature…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by matthewcarbone
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #1432 on September 29, 2022 05:36.