Click or drag to resize
Accord.NET (logo)

StochasticLayer Constructor (IStochasticFunction, Int32, Int32)

Initializes a new instance of the StochasticLayer class.

Namespace:  Accord.Neuro.Layers
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public StochasticLayer(
	IStochasticFunction function,
	int neuronsCount,
	int inputsCount
)
Request Example View Source

Parameters

function
Type: Accord.Neuro.ActivationFunctionsIStochasticFunction
The activation function for the neurons in the layer.
neuronsCount
Type: SystemInt32
The neurons count.
inputsCount
Type: SystemInt32
The inputs count.
See Also