C# Класс AForge.Neuro.ActivationLayer

Activation layer.
Activation layer is a layer of activation neurons. The layer is usually used in multi-layer neural networks.
Наследование: Layer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ActivationLayer() публичный Метод

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.
Результат System

SetActivationFunction() публичный Метод

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.
Результат void