-
Hello everyone, I have implemented a self-defined acquisition function. Its gradient also has an analytic expression, but unfortunately cannot be computed via the auto-differentiation technique in BoTorch. Then how could I provide my gradient function to optimize_acqf()? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you provide some more detail on the acquisition function you are considering and why auto-differentiation is not possible in this case? The most obvious option would be to implement a custom backward pass for this acquisition function so that it can be used with existing interfaces. |
Beta Was this translation helpful? Give feedback.
Can you provide some more detail on the acquisition function you are considering and why auto-differentiation is not possible in this case?
The most obvious option would be to implement a custom backward pass for this acquisition function so that it can be used with existing interfaces.