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

Simplify working with optimizer variables #352

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

juliabeliaeva
Copy link
Contributor

This PR deals with optimizer variables created by the createSlot function. Instead of creating variables in the Optimizer#createSlots, putting them to the special map only to retrieve in the applyGradients, which is called directly after, variables are created immediately before usage.

@zaleslaw
Copy link
Collaborator

It's an interesting proposal, but I need a time to estimate the power of this refactoring, give me a couple of days here to trace all the code routes in refactored optimizers

@juliabeliaeva
Copy link
Contributor Author

@zaleslaw I don't think this refactoring should be included into the 0.4 so there is really no rush with the review.

@zaleslaw
Copy link
Collaborator

If you suppose to postpone it, I suggest marking it with the 0.5 milestone

@zaleslaw zaleslaw added this to the 0.5 milestone Apr 26, 2022
@juliabeliaeva juliabeliaeva removed this from the 0.5 milestone Oct 11, 2022
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