Property | Type | Description | |
---|---|---|---|
inputsCount | int | ||
neurons | Accord.Neuro.Neuron[] | ||
neuronsCount | int | ||
output | double[] |
Method | Description | |
---|---|---|
Compute ( double input ) : double[] |
Compute output vector of the layer. The actual layer's output vector is determined by neurons, which comprise the layer - consists of output values of layer's neurons. The output vector is also stored in Output property. |
|
Randomize ( ) : void |
Randomize neurons of the layer. Randomizes layer's neurons by calling Neuron.Randomize method of each neuron. |
Method | Description | |
---|---|---|
Layer ( int neuronsCount, int inputsCount ) : System |
Initializes a new instance of the Layer class. Protected contructor, which initializes inputsCount, neuronsCount and neurons members. |
public Compute ( double input ) : double[] | ||
input | double | Input vector. |
return | double[] |
protected Layer ( int neuronsCount, int inputsCount ) : System | ||
neuronsCount | int | Layer's neurons count. |
inputsCount | int | Layer's inputs count. |
return | System |