Skip to content

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