Replies: 1 comment 16 replies
-
|
Using (swapping for |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The two init args
train_X,train_YofSingleTaskGPare typed asTensor(none-optional). It's parent classgpytorch.models.ExactGPactually handles the case ofNoneas input data andSingleTaskGPalso seems to work well when instantiated withtrain_X=None, train_Y=None.As it is sometimes useful to initialize without training data and the implementation of the parent
ExactGPis explicitly implemented to support that, does anything speak against typing them asOptional[Tensor]in botorch?(If not, I'd open a PR accordingly)
Beta Was this translation helpful? Give feedback.
All reactions