-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Adam optimizer implementation (#150)
* Added Adam optimizer implementation * called rms from optimizers module * Minor fixes to improve adam performance * Suggested Changes * Remove dead code; format to <=80 columns * Use associate instead of explicit allocation for m_hat and v_hat; formatting * Added convergency test for Adam * AdamW: Adam with decay weights modification * AdamW Modifications * Fixed failing test * Add notes; clean up; make more internal parameters private * AdamW changes * flexible weight decay regularization * Formatting --------- Co-authored-by: milancurcic <caomaco@gmail.com>
- Loading branch information
1 parent
e9bfbd6
commit 6adc1c2
Showing
6 changed files
with
230 additions
and
74 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
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
Oops, something went wrong.