Skip to content

Commit 933685b

Browse files
JacobSzwejbkafacebook-github-bot
authored andcommitted
mark sgd as experimental (#5316)
Summary: Pull Request resolved: #5316 title bypass-github-export-checks Reviewed By: tarun292 Differential Revision: D62591245 fbshipit-source-id: cd8d3231a96f7251632a1322e30aaa3b47bac980
1 parent a0a249e commit 933685b

File tree

1 file changed

+4
-4
lines changed
  • extension/training/optimizer

1 file changed

+4
-4
lines changed

extension/training/optimizer/sgd.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace optimizer {
3232
* SGD optimizer state. This keeps track of the state of a given parameter to
3333
* be used in later epochs.
3434
*/
35-
class SGDParamState {
35+
class ET_EXPERIMENTAL SGDParamState {
3636
public:
3737
/**
3838
* Constructs a new SGD param state.
@@ -55,7 +55,7 @@ class SGDParamState {
5555
* SGD optimizer options. This contains options for performing training on a
5656
* param group, such as the learning rate.
5757
*/
58-
class SGDOptions {
58+
class ET_EXPERIMENTAL SGDOptions {
5959
public:
6060
/**
6161
* Constructs a new SGD optimizer options.
@@ -128,7 +128,7 @@ class SGDOptions {
128128
* SGD optimizer param group. This contains the parameters and
129129
* the SGDOptions associated to it.
130130
*/
131-
class SGDParamGroup {
131+
class ET_EXPERIMENTAL SGDParamGroup {
132132
public:
133133
// NOTE: In order to store `SGDParamGroup` in a `std::vector`, it has
134134
// to be copy-constructible.
@@ -176,7 +176,7 @@ class SGDParamGroup {
176176
* SGD optimizer class. This is responsible for performing the optimization
177177
* step.
178178
*/
179-
class SGD {
179+
class ET_EXPERIMENTAL SGD {
180180
public:
181181
explicit SGD(
182182
const std::vector<SGDParamGroup>& param_groups,

0 commit comments

Comments
 (0)