Skip to content

Conversation

@facaiy
Copy link
Member

@facaiy facaiy commented Jan 14, 2019

Fix #4

The implementation are based on tensorflow/contrib/opt/python/training/lazy_adam_optimizer.py and tensorflow/python/keras/optimizer_v2/adam.py

The test codes are based on tensorflow/contrib/opt/python/training/lazy_adam_optimizer_test.py and tensorflow/python/keras/optimizer_v2/adamax_test.py

Note that RefVariable is not supported any more. They are modified to ensure that all tests pass in nightly-custom-op image.

@facaiy facaiy requested a review from seanpmorgan January 14, 2019 02:56
@facaiy facaiy force-pushed the ENH/move_LazyAdamOptimier branch from c4a3b9f to 1922bbc Compare January 14, 2019 11:22
@facaiy facaiy changed the title WIP: Implement LazyAdamOptimizer Implement LazyAdamOptimizer Jan 14, 2019
@facaiy
Copy link
Member Author

facaiy commented Jan 14, 2019

@seanpmorgan @armando-fandango Could you take a look? Thanks :)

Copy link
Member

@seanpmorgan seanpmorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for the PR @facaiy. Generally looks good, few stylistic changes requested.

@facaiy facaiy force-pushed the ENH/move_LazyAdamOptimier branch from 370b575 to cfba7d3 Compare January 15, 2019 02:19
@facaiy
Copy link
Member Author

facaiy commented Jan 15, 2019

Thank you, Sean. For v1 tests, I'd like to keep the same pace with keras.optimizer to remove them. I think I have addressed all your comments, could you take a look again?

@facaiy facaiy force-pushed the ENH/move_LazyAdamOptimier branch 3 times, most recently from 8c3821b to 06f8176 Compare January 15, 2019 05:20
@facaiy facaiy force-pushed the ENH/move_LazyAdamOptimier branch from 06f8176 to 76843b2 Compare January 15, 2019 05:22
@seanpmorgan seanpmorgan merged commit 63eccb0 into tensorflow:master Jan 15, 2019
@facaiy facaiy deleted the ENH/move_LazyAdamOptimier branch January 15, 2019 12:27
@facaiy facaiy restored the ENH/move_LazyAdamOptimier branch January 16, 2019 11:00
Squadrick pushed a commit to Squadrick/addons that referenced this pull request Mar 26, 2019
@facaiy facaiy deleted the ENH/move_LazyAdamOptimier branch September 30, 2019 23:31
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