golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
AdaBelief
golem
optimizer
Undocumented in source.
class
AdaBelief :
Optimizer
(
Params
...
) {
alias
Values
=
staticMap
!(
mapValue
,
Params
)
;
AdamConfig
config
;
Params
params
;
Values
ms
;
Values
vs
;
size_t
trainCount
;
this
(Params params);
void
resetGrads
();
void
trainStep
();
}
Constructors
this
this
(Params params)
Undocumented in source.
Members
Aliases
Values
alias
Values
=
staticMap
!(
mapValue
,
Params
)
Undocumented in source.
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
AdamConfig
config
;
Undocumented in source.
ms
Values
ms
;
Undocumented in source.
params
Params
params
;
Undocumented in source.
trainCount
size_t
trainCount
;
Undocumented in source.
vs
Values
vs
;
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