Commit Graph

4 Commits

Author SHA1 Message Date
Fei Sun
d8b7166251 Move build_ftrl to open source directory
Summary:
Move the open source version of build_ftrl to the open source directory.
Because build_ftrl can use several engines, the SIMD engine is fb specific.
We keep the build_ftrl in the fb/optimizers/sgd.py file.
So, if the caller only uses the open source engine, it can import the
open source build_ftrl. If the caller may use the SIMD engine, it needs
to import the fb specific build_ftrl.
Also move the tests to python directory.

Reviewed By: salexspb

Differential Revision: D4560384

fbshipit-source-id: 84fc915d3bbe42fd19503ef132d3277088f6fab3
2017-02-16 18:02:15 -08:00
Fei Sun
9871ed4258 Migrate build_adam to python directory
Summary:
The change migrates build_adam function to the open source python directory.
Depends on D4551871

Reviewed By: salexspb

Differential Revision: D4552227

fbshipit-source-id: 2b6bef183ecfd645d0f26215a784846d8841b845
2017-02-14 14:17:12 -08:00
Fei Sun
7aef4b2662 Migrate build_adagrad to python directory
Summary:
The change migrates build_adagrad function to the open source python directory.
Depends on D4547016.

Reviewed By: salexspb

Differential Revision: D4551871

fbshipit-source-id: cb68d9b2a723b0f069c8a24cfa3062f1e676c016
2017-02-14 07:16:46 -08:00
Fei Sun
fc2b6e8ed6 Migrate build_sgd to python directory
Summary:
Currently build_sgd is in facebook specific directory. Need to move it to python so that
the open source world can use it.

Reviewed By: salexspb

Differential Revision: D4547016

fbshipit-source-id: d699b7b1ab8051afdeadedb4d247ec2a04a7a3e7
2017-02-13 13:31:37 -08:00