Skip to content

Acquisition Function Constructors for qSR and qUCB #2860

Answered by Balandat
jduerholt asked this question in Q&A
Discussion options

You must be logged in to vote

Keen observation - but MCAcquisitionObjective defines a __call__ function and is thus, a Callable :)

from typing import Callable

class C:
    def __call__(self):
        pass

isinstance(C, Callable)  # True

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jduerholt
Comment options

jduerholt May 23, 2025
Collaborator Author

Answer selected by jduerholt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants