-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add num_outputs property to the model API #295
Labels
enhancement
New feature or request
Comments
This was referenced Nov 27, 2019
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Nov 28, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 92ffb76ff4708a3811e08222c7d93dc4ec3bcc87
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Nov 28, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: e1c85ddfd2243aa637b80e846309cd54a68b98f4
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Nov 28, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 54c684624b143b8b68342d08510b8fdb578c37e5
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Nov 28, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 97394411c40fdafeae89ea819c8dad2b901f571f
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Dec 2, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 26073074f2157f052fc19cfe7780ffd54978401b
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Dec 2, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 0c026b2843f161baa4016a2a4d14a28b19b24f77
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Dec 2, 2019
Summary: Pull Request resolved: pytorch#330 Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 1c89ffb6aa63b4309564d679032b3e23c41f4b51
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Dec 2, 2019
Summary: Addresses pytorch#295. Differential Revision: D18737863 fbshipit-source-id: 20d38472798a1abde3f4b1418c3352b36e021738
Balandat
added a commit
to Balandat/botorch
that referenced
this issue
Dec 2, 2019
Summary: Pull Request resolved: pytorch#330 Addresses pytorch#295. Reviewed By: liangshi7 Differential Revision: D18737863 fbshipit-source-id: 937c2c213350b7d4381bae31013861d858a98698
facebook-github-bot
pushed a commit
that referenced
this issue
Dec 2, 2019
Addressed in #330 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently only
BatchedMuliOutputGpyTorchModels
have a _num_outputs property for internal bookkeeping. It would be good to have anum_outputs
property defined for all models, so this can be used in a transparent fashion, e.g. for making sure that we don't use multi-output models with acquisition functions that do not support them.I'm hesitant to add more and more sugar to the required model API so as to not make it super hard to implement custom models, but this change seems to be lightweight enough. We can also not make it an abstract property, but just raise a
NotImplementedError
, so people who don't need it don't need to worry about it.The text was updated successfully, but these errors were encountered: