golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
SGD
golem
optimizer
Undocumented in source.
class
SGD :
Optimizer
(
Params
...
) {
SGDConfig
config
;
Params
params
;
staticMap
!(
mapValue
,
Params
)
diffs
;
this
(Params params);
void
resetGrads
();
void
trainStep
();
}
Constructors
this
this
(Params params)
Undocumented in source.
Members
Functions
resetGrads
void
resetGrads
()
Undocumented in source. Be warned that the author may not have intended to support it.
trainStep
void
trainStep
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
config
SGDConfig
config
;
Undocumented in source.
diffs
staticMap
!(
mapValue
,
Params
)
diffs
;
Undocumented in source.
params
Params
params
;
Undocumented in source.
Inherited Members
From Optimizer
resetGrads
void
resetGrads
()
Undocumented in source.
trainStep
void
trainStep
()
Undocumented in source.
Meta
Source
See Implementation
golem
optimizer
classes
AdaBelief
Adam
SGD
functions
createOptimizer
interfaces
Optimizer
structs
AdamConfig
SGDConfig