- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Proposal: Move params
to Zygote
#1900
Comments
My inclination is no, but for a good reason. The nested structural traversal Another reason to not move |
That’s a good point - and I missed that. Ok then I need to take a look at your new strategy. Very curious. Thanks for the quick response. |
Where can I find the discussion about moving away from implicit parameters? That PR seems to be a really small aspect? |
Unfortunately there isn't a real centralized source for the whole thing, but reading through the issues in Explicit Parameter Transition should give you a decent primer. The best (though somewhat out of date) description of the effort may be found in #637. You may also be interested in a look through the Optimisers.jl docs. |
I'm just starting to look into the Flux eco-systems, primarily for Zygote rather than Flux itself and I was struck that
Params
lives in Zygote whileparams
lives inFlux
. This form of differentiationis very convenient and elegant and useful for any nested structure, not just those built from Zygote.
Is there any chance to simply move this functionality into Zygote so that it can be used without depending on Flux? If I understand it correctly that would not even break backward compatibility.
The text was updated successfully, but these errors were encountered: