grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
AdaDelta
grain
optim
http://www.matthewzeiler.com/pubs/googleTR2012/googleTR2012.pdf
struct
AdaDelta (
Chain
) {
import
grain
.
autograd
;
;
Chain
*
target
;
float
lr
;
float
rho
;
float
eps
;
StateDict
den
;
StateDict
num
;
this
(Chain target, float lr, float rho, float eps);
void
initStates
(string name, V field);
void
step
(string name, V field);
}
Constructors
this
this
(Chain target, float lr, float rho, float eps)
Members
Functions
initStates
void
initStates
(string name, V field)
step
void
step
(string name, V field)
Variables
den
StateDict
den
;
Undocumented in source.
eps
float
eps
;
Undocumented in source.
lr
float
lr
;
num
StateDict
num
;
Undocumented in source.
rho
float
rho
;
Undocumented in source.
target
Chain
*
target
;
Undocumented in source.
Meta
Source
See Implementation
grain
optim
aliases
StateDict
functions
make
transform
update
zeroGrad
structs
AdaDelta
AdaGrad
Adam
MLP
SGD
variables
isOptimizer
http://www.matthewzeiler.com/pubs/googleTR2012/googleTR2012.pdf