Метод | Описание | |
---|---|---|
Compute ( double input ) : double[] |
Compute output vector of the layer.
|
|
CopyReversedWeightsFrom ( |
Copy the weights of another layer in reversed order. This can be used to update visible layers from hidden layers and vice-versa.
|
|
Generate ( double input ) : double[] |
Compute probability vector of the layer.
|
|
StochasticLayer ( IStochasticFunction function, int neuronsCount, int inputsCount ) : Accord.Neuro.ActivationFunctions |
Initializes a new instance of the StochasticLayer class.
|
|
StochasticLayer ( int neuronsCount, int inputsCount ) : Accord.Neuro.ActivationFunctions |
Initializes a new instance of the StochasticLayer class.
|
public Compute ( double input ) : double[] | ||
input | double | Input vector. |
Результат | double[] |
public CopyReversedWeightsFrom ( |
||
layer | The layer to copy the weights from. | |
Результат | void |
public Generate ( double input ) : double[] | ||
input | double | Input vector. |
Результат | double[] |
public StochasticLayer ( IStochasticFunction function, int neuronsCount, int inputsCount ) : Accord.Neuro.ActivationFunctions | ||
function | IStochasticFunction | The activation function for the neurons in the layer. |
neuronsCount | int | The neurons count. |
inputsCount | int | The inputs count. |
Результат | Accord.Neuro.ActivationFunctions |
public StochasticLayer ( int neuronsCount, int inputsCount ) : Accord.Neuro.ActivationFunctions | ||
neuronsCount | int | Layer's neurons count. |
inputsCount | int | Layer's inputs count. |
Результат | Accord.Neuro.ActivationFunctions |