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

Add AbstractOptimiser type #1325

Merged
merged 1 commit into from
May 28, 2021
Merged

Conversation

DhairyaLGandhi
Copy link
Member

This adds an abstract type over all of Flux's optimisers, which serves to disambiguate an optimiser defined by Flux when there are multiple optimisation libraries being used together. Does this need news?

PR Checklist

  • Tests are added
  • Entry in NEWS.md
  • Documentation, if applicable
  • Final review from @dhairyagandhi96 (for API changes).

@ToucheSir
Copy link
Member

Quick Q: is this a precursor to integrating Optimisers.jl or an unrelated change?

@DhairyaLGandhi
Copy link
Member Author

For the PR, I'm seeing it as an orthogonal utility. It will come in handy with the functional optimisers too, since we can define some methods on abstract types now.

@ChrisRackauckas
Copy link
Member

@DhairyaLGandhi
Copy link
Member Author

So I take it you're in favour :p ?

@DhairyaLGandhi
Copy link
Member Author

Let's merge this and see where we want to go with this.

@DhairyaLGandhi DhairyaLGandhi merged commit 06970a5 into FluxML:master May 28, 2021
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.

3 participants