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

Question about the gradient of odeint #250

Open
Hank0626 opened this issue May 31, 2024 · 0 comments
Open

Question about the gradient of odeint #250

Hank0626 opened this issue May 31, 2024 · 0 comments

Comments

@Hank0626
Copy link

Hank0626 commented May 31, 2024

Hello,

I've been working with odeint where the input is a neural network and a vector t. The output is a tensor with an additional dimension for t in front of the dimensions of the neural network's output.

My goal is to focus on the output at the final time step and compute the loss against the true value. In this context, do the outputs at the previous time steps have any significance? Specifically, how is the gradient propagated through these intermediate outputs?

Thank you for your help!

@Hank0626 Hank0626 changed the title How to determine the t in odeint? Question about the gradient of odeint? May 31, 2024
@Hank0626 Hank0626 changed the title Question about the gradient of odeint? Question about the gradient of odeint May 31, 2024
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