public abstract class Layer extends Iced
| Modifier and Type | Class and Description |
|---|---|
static class |
Layer.Input |
static class |
Layer.Linear |
static class |
Layer.Maxout
Pulled from Chris Severs TODO finish merge
|
static class |
Layer.Output |
static class |
Layer.Rectifier |
static class |
Layer.RectifierDropout |
static class |
Layer.RectifierPrime |
static class |
Layer.Softmax |
static class |
Layer.Tanh |
static class |
Layer.TanhDropout |
static class |
Layer.TanhPrime
Apply tanh to the weights' transpose.
|
static class |
Layer.VecLinear |
static class |
Layer.VecsInput |
static class |
Layer.VecSoftmax |
| Modifier and Type | Field and Description |
|---|---|
float |
_momentum |
static DocGen.FieldDoc[] |
DOC_FIELDS |
float |
dropout |
float |
l2 |
float |
rate |
float |
rate_annealing |
int |
units |
| Constructor and Description |
|---|
Layer() |
| Modifier and Type | Method and Description |
|---|---|
void |
anneal(long n) |
Layer |
clone() |
void |
close() |
void |
init(Layer[] ls,
int index) |
void |
init(Layer[] ls,
int index,
boolean weights,
long step) |
static void |
momentum(Layer[] ls,
Trainer trainer) |
float |
rate(long n) |
static void |
shareWeights(Layer[] src,
Layer[] dst) |
static void |
shareWeights(Layer src,
Layer dst) |
AutoBuffer |
writeJSON(AutoBuffer bb) |
frozenType, init, newInstance, read, toDocField, write, writeJSONFieldspublic static DocGen.FieldDoc[] DOC_FIELDS
public int units
public float rate
public float rate_annealing
public float l2
public float dropout
public float _momentum
public final void init(Layer[] ls, int index)
public void init(Layer[] ls, int index, boolean weights, long step)
public void close()
public final void anneal(long n)
public float rate(long n)
public AutoBuffer writeJSON(AutoBuffer bb)