-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimizer 1d -- EMA in place (fbgemm part) (#3402)
Summary: X-link: facebookresearch/FBGEMM#490 Implement the ema_within_table_rowwise_adagrad ``` Emb_table: ------------------------------------------------- - -- - - Fast part -- Slow part - - (RL) main part -- target part - - -- - ------------------------------------------------- In every "step_ema" step, we perform slow_part += coef_ema * (fast_part - slow_part) ``` It mainly serves the target network purpose in the reinforcement learning framework. Design doc https://fburl.com/gdoc/qyfv7tyi Differential Revision: D66015331
- Loading branch information
1 parent
b94be33
commit 00bc046
Showing
3 changed files
with
178 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters