vectorflow ~master (2020-05-21T03:08:59Z)
Dub
Repo
SGDOptimizer.learn
vectorflow
optimizers
SGDOptimizer
Undocumented in source. Be warned that the author may not have intended to support it.
class
SGDOptimizer
void
learn
(
D
T
V
R
S
)
(
NeuralNet
nn
,
D
data
,
S
delegate
(
R
net_out
,
ref
T
ex
,
ref
V
[]
grad
)
grad_f
,
bool
verbose
,
uint
num_cores
)
if
(
isForwardRange
!
D
&&
(
is
(
V
==
float
) ||
is
(
V
==
SparseF
)
)
&&
(
is
(
R
==
float
[]) ||
is
(
R
==
NeuralNet
)
)
&&
(
isNumeric
!
S
||
is
(
S
==
void
)
)
)
Meta
Source
See Implementation
vectorflow
optimizers
SGDOptimizer
constructors
this
functions
current_lr
dup
learn
register
toString
update
variables
cnt
lr
mini_batch_sz
num_epochs
priors
prox