Skip to content

Conversation

@Squadrick
Copy link
Member

Fixes #104

* Rename `lazy_adam_optimizer.py` -> `lazy_adam.py`

* Rename `lazy_adam_optimizer_test.py` -> `lazy_adam_test.py`

* Rename LazyAdamOptimizerTest -> LazyAdamTest

* Update README.md

* Update BUILD files
Copy link
Contributor

@armando-fandango armando-fandango left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@facaiy
Copy link
Member

facaiy commented Mar 29, 2019

Thanks, Dheeraj, Armando!
Let's merge it after Sean approves the change cc @seanpmorgan

Copy link
Contributor

@armando-fandango armando-fandango left a comment

Choose a reason for hiding this comment

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

Seems like its failing the format test: "Use make code-format command to format codes automatically
Format checks FAILED"

@Squadrick
Copy link
Member Author

@armando-fandango I formatted the python file, it should pass the tests now.

@Squadrick
Copy link
Member Author

@facaiy

On lazy_adam_test.py line 217. If I run yapf it formats the line in a way that fails in pylint.

@facaiy
Copy link
Member

facaiy commented Mar 29, 2019

Dheeraj, do you take make code-format and make sanity-check a try ?https://github.com/tensorflow/addons/blob/master/CONTRIBUTING.md#development-environment

By the way, we always squash all commits into one commit before merging, so it seems not necessary to rebase our commits :-) . (rebase is kind of dangerous and not friendly for reviewer).

@facaiy
Copy link
Member

facaiy commented Mar 29, 2019

What pylint error? You can disable it temporarily https://github.com/tensorflow/addons/blob/master/STYLE_GUIDE.md

@seanpmorgan seanpmorgan merged commit 63bb4b4 into tensorflow:master Mar 29, 2019
@Squadrick Squadrick deleted the rename-opt branch March 29, 2019 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants