C# 클래스 Accord.Neuro.Layers.StochasticLayer

상속: ActivationLayer
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Compute ( double input ) : double[]

Compute output vector of the layer.

CopyReversedWeightsFrom ( StochasticLayer layer ) : void

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.

메소드 상세

Compute() 공개 메소드

Compute output vector of the layer.
public Compute ( double input ) : double[]
input double Input vector.
리턴 double[]

CopyReversedWeightsFrom() 공개 메소드

Copy the weights of another layer in reversed order. This can be used to update visible layers from hidden layers and vice-versa.
public CopyReversedWeightsFrom ( StochasticLayer layer ) : void
layer StochasticLayer The layer to copy the weights from.
리턴 void

Generate() 공개 메소드

Compute probability vector of the layer.
public Generate ( double input ) : double[]
input double Input vector.
리턴 double[]

StochasticLayer() 공개 메소드

Initializes a new instance of the StochasticLayer class.
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

StochasticLayer() 공개 메소드

Initializes a new instance of the StochasticLayer class.
public StochasticLayer ( int neuronsCount, int inputsCount ) : Accord.Neuro.ActivationFunctions
neuronsCount int Layer's neurons count.
inputsCount int Layer's inputs count.
리턴 Accord.Neuro.ActivationFunctions