|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Layer
org.joone.engine.SimpleLayer
org.joone.engine.ContextLayer
public class ContextLayer
The context layer is similar to the linear layer except that it has an auto-recurrent connection between its output and input.
Field Summary |
---|
Fields inherited from class org.joone.engine.Layer |
---|
bias, gradientInps, gradientOuts, inps, inputPatternListeners, learnable, learning, m_batch, monitor, myLearner, outputPatternListeners, outs, running, step, STOP_FLAG |
Constructor Summary | |
---|---|
ContextLayer()
|
|
ContextLayer(java.lang.String name)
|
Method Summary | |
---|---|
void |
backward(double[] pattern)
Reverse transfer function of the component. |
void |
forward(double[] pattern)
Transfer function to recall a result on a trained net |
double |
getBeta()
Getter for property beta. |
double |
getTimeConstant()
Getter for property timeConstant. |
java.util.Collection |
Inspections()
It doesn't make sense to return biases for this layer |
void |
setBeta(double beta)
Setter for property beta. |
void |
setTimeConstant(double timeConstant)
Setter for property timeConstant. |
Methods inherited from class org.joone.engine.SimpleLayer |
---|
getLearningRate, getLrate, getMomentum, setDimensions, setLrate, setMomentum, setMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContextLayer()
public ContextLayer(java.lang.String name)
Method Detail |
---|
public void backward(double[] pattern)
Layer
backward
in class SimpleLayer
pattern
- input pattern on which to apply the transfer functionpublic void forward(double[] pattern)
Layer
forward
in class Layer
pattern
- input pattern to which to apply the rtransfer functionpublic double getBeta()
public void setBeta(double beta)
beta
- New value of property beta.public double getTimeConstant()
public void setTimeConstant(double timeConstant)
timeConstant
- New value of property timeConstant.public java.util.Collection Inspections()
Inspections
in interface Inspectable
Inspections
in class Layer
org.joone.Inspection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |