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_Y
ofSingleTaskGP
are typed asTensor
(none-optional). It's parent classgpytorch.models.ExactGP
actually handles the case ofNone
as input data andSingleTaskGP
also 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
ExactGP
is 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