Skip to content

Extend multiple_shoot loss to multidimensional NeuralODEs #974

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

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

SCiarella
Copy link
Contributor

Checklist

  • [ YES ] Appropriate tests were added
  • [ YES ] Any code changes were done in a way that does not break public API
  • [ YES ] All documentation related to code changes were updated
  • [ YES ] The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • [ YES ] Any new documentation only uses public API

Additional context

This PR extend multiple_shoot to work for NeuralODEs in $d>1$ dimensions, so u and the right-hand-side can be defined as multidimensional tensors.
After implementing the small change in src/multiple_shooting.jl I have also refactored test/multiple_shoot_tests.jl in order to reuse the preexisting test for the new multidimensional case.

@ChrisRackauckas ChrisRackauckas merged commit f117f80 into SciML:master Jul 14, 2025
11 of 14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants