public class BufferedSynapse extends Synapse
fwdPut
method, infact, uses a FIFO structure to
store the patterns and to separate the writing from the reading layers.Constructor and Description |
---|
BufferedSynapse()
BufferedOutputSynapse constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
backward(double[] pattern)
Funzione di TRAIN dell'elemento.
|
protected void |
forward(double[] pattern)
Recall function
|
Pattern |
fwdGet()
Return the first element of the FIFO structure, if exists.
|
void |
fwdPut(Pattern pattern)
Writes the input pattern into the FIFO structure.
|
Pattern |
revGet()
Not used
|
void |
revPut(Pattern pattern)
Not used
|
protected void |
setArrays(int rows,
int cols)
setArrays method comment.
|
protected void |
setDimensions(int rows,
int cols)
setDimensions method comment.
|
addNoise, canCountSteps, check, fwdPattern_consume, fwdPattern_produce, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getSynapseNameSafely, getWeights, init, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, reset, revPattern_consume, revPattern_produce, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLogger
protected void backward(double[] pattern)
Synapse
protected void forward(double[] pattern)
Synapse
public Pattern fwdGet()
fwdGet
in interface InputPatternListener
fwdGet
in class Synapse
public void fwdPut(Pattern pattern)
fwdPut
in interface OutputPatternListener
fwdPut
in class Synapse
pattern
- The Pattern object to write in the FIFO structurepublic Pattern revGet()
revGet
in interface OutputPatternListener
revGet
in class Synapse
public void revPut(Pattern pattern)
revPut
in interface InputPatternListener
revPut
in class Synapse
pattern
- protected void setArrays(int rows, int cols)
protected void setDimensions(int rows, int cols)
setDimensions
in class Synapse
Submit Feedback to pmarrone@users.sourceforge.net