ShadowSGDOptimizer

Undocumented in source.

Constructors

this
this(NeuralNet net)
Undocumented in source.

Members

Functions

current_lr
float current_lr(size_t k, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
dup
Optimizer dup()
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register(NeuralLayer layer)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(NeuralLayer layer, float[] ext_grad)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(NeuralLayer layer, SparseF[] ext_grad)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_net
NeuralNet _net;
Undocumented in source.

Inherited Members

From SGDOptimizer

num_epochs
ulong num_epochs;
Undocumented in source.
mini_batch_sz
ulong mini_batch_sz;
Undocumented in source.
lr
float lr;
Undocumented in source.
cnt
ulong cnt;
Undocumented in source.
priors
AdditiveLinearPrior[] priors;
Undocumented in source.
prox
ProxyLinearPrior prox;
Undocumented in source.
learn
void learn(NeuralNet nn, D data, S delegate(R net_out, ref T ex, ref V[] grad) grad_f, bool verbose, uint num_cores)
Undocumented in source. Be warned that the author may not have intended to support it.
current_lr
float current_lr(size_t k, size_t j)
Undocumented in source.
register
void register(NeuralLayer layer)
Undocumented in source.
update
void update(NeuralLayer layer, float[] ext_grad)
Undocumented in source.
update
void update(NeuralLayer layer, SparseF[] ext_grad)
Undocumented in source.
dup
Optimizer dup()
Undocumented in source.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta