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

Getting dx/dp instead of df/dp #155

Open
Zhuojun-PhD opened this issue Feb 18, 2024 · 0 comments
Open

Getting dx/dp instead of df/dp #155

Zhuojun-PhD opened this issue Feb 18, 2024 · 0 comments

Comments

@Zhuojun-PhD
Copy link

Hello,

Thanks for the package!

I am trying to retrieve the gradient of the optimal decision with respect to a parameter $\theta$, i.e., $\nabla_\theta x$.
I established a toy problem in order to compute $\nabla_k x$:

image

However, if I understand correctly, the dimension of $\nabla_k x$ should be $\mathbb{R}^n$.

So I am curious that if there is any way I get retrieve $\nabla_k x$ instead of $\nabla_k f(x)$?

Thanks for the reply in advance,
Zhuojun

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