C# Class AForge.Neuro.ActivationLayer

Activation layer.
Activation layer is a layer of activation neurons. The layer is usually used in multi-layer neural networks.
Inheritance: Layer
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ActivationLayer() public méthode

Initializes a new instance of the ActivationLayer class.
The new layer is randomized (see ActivationNeuron.Randomize method) after it is created.
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.
Résultat System

SetActivationFunction() public méthode

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 SetActivationFunction ( IActivationFunction function ) : void
function IActivationFunction Activation function to set.
Résultat void