Skip to content

Conversation

DhairyaLGandhi
Copy link
Member

Checklist

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

Additional context

Needed for SciML/ModelingToolkitNeuralNets.jl#20

Basically, adds a simple rrule to make the MTKParameters constructor work out of the box. Currently only handles tunables

cc @AayushSabharwal

Add any other context about the problem here.

@ChrisRackauckas
Copy link
Member

Add a quick test?

@DhairyaLGandhi
Copy link
Member Author

Indeed, I am working on one.

@ChrisRackauckas
Copy link
Member

I'll merge with the depwarn.

@ChrisRackauckas ChrisRackauckas merged commit 2e35294 into SciML:master Aug 20, 2024
19 of 23 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