메소드 | 설명 | |
---|---|---|
ActivationLayer ( int neuronsCount, int inputsCount, IActivationFunction function ) : System |
Initializes a new instance of the ActivationLayer class. The new layer is randomized (see ActivationNeuron.Randomize method) after it is created. |
|
SetActivationFunction ( IActivationFunction function ) : void |
Set new activation function for all neurons of the layer. The methods sets new activation function for each neuron by setting their ActivationNeuron.ActivationFunction property. |
public ActivationLayer ( int neuronsCount, int inputsCount, IActivationFunction function ) : System | ||
neuronsCount | int | Layer's neurons count. |
inputsCount | int | Layer's inputs count. |
function | IActivationFunction | Activation function of neurons of the layer. |
리턴 | System |
public SetActivationFunction ( IActivationFunction function ) : void | ||
function | IActivationFunction | Activation function to set. |
리턴 | void |