Skip to content
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

Specifying both directional derivative and gradient #96

Open
vincentmolin opened this issue Mar 4, 2022 · 0 comments
Open

Specifying both directional derivative and gradient #96

vincentmolin opened this issue Mar 4, 2022 · 0 comments

Comments

@vincentmolin
Copy link

In some applications the gradient vector product dot(∇ϕx, θ) is significantly cheaper to compute than the full gradient ∇ϕx. For the samplers where it makes sense to support this, it could be nice to implement it.

(Would be pretty cool if ∇ϕx could be lazy in some sense, dot(∇ϕx,v) evaluated the directional derivative and reflect!(∇ϕx,... forced a full gradient evaluation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant