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
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
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