Method | Description | |
---|---|---|
ClearContext ( ) : void |
Reset the context values back to zero.
|
|
ContextLayer ( ) : System |
Default constructor, mainly so the workbench can easily create a default layer.
|
|
ContextLayer ( IActivationFunction thresholdFunction, bool hasThreshold, int neuronCount ) : System |
Construct a context layer with the parameters specified.
|
|
ContextLayer ( int neuronCount ) : System |
Construct a default context layer that has the TANH activation function and the specified number of neurons. Use threshold values.
|
|
CreatePersistor ( ) : IPersistor |
Create a persistor for this layer.
|
|
Process ( INeuralData pattern ) : void |
Called to process input from the previous layer. Simply store the output in the context.
|
|
Recur ( ) : INeuralData |
Called to get the output from this layer when called in a recurrent manor. Simply return the context that was kept from the last iteration.
|
public ContextLayer ( IActivationFunction thresholdFunction, bool hasThreshold, int neuronCount ) : System | ||
thresholdFunction | IActivationFunction | The threshold function to use. |
hasThreshold | bool | Does this layer have thresholds? |
neuronCount | int | The neuron count to use. |
return | System |
public ContextLayer ( int neuronCount ) : System | ||
neuronCount | int | The number of neurons on this layer. |
return | System |
public Process ( INeuralData pattern ) : void | ||
pattern | INeuralData | The pattern to store in the context. |
return | void |