Find file History
arbabu123 and facebook-github-bot Refactor optimizer similar to other components. (#8)
Summary:
This diff achieves the following objectives:
- We will have a cleaner way of specifying optimizers. Only exact expected arguments can be provided for a particular optimizer. Giving momentum argument for Adam will throw exception.
- It makes it easier to add new optimizers. By replacing the if-else-style create_optimizer(), optimizers can be defined from different files.
- We remove support for multiple optimizers as this feature was not being used anywhere else and it was creating unnecessary complexity.

Pull Request resolved: #8

Reviewed By: hikushalhere

Differential Revision: D13227927

fbshipit-source-id: 2da3a1f8f456e6c4561375f62efa6596715a2880
Latest commit 57f11b7 Jan 18, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
atis_joint_model Refactor optimizer similar to other components. (#8) Jan 18, 2019
configs Refactor optimizer similar to other components. (#8) Jan 18, 2019
flask_server Initial commit Dec 11, 2018
predictor_service Initial commit Dec 11, 2018