|
ActivationLayer Constructor
|
Namespace:
Accord.Neuro
Assembly:
Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax public ActivationLayer(
int neuronsCount,
int inputsCount,
IActivationFunction function
)
Public Sub New (
neuronsCount As Integer,
inputsCount As Integer,
function As IActivationFunction
)
Request Example
View SourceParameters
- neuronsCount
- Type: SystemInt32
Layer's neurons count. - inputsCount
- Type: SystemInt32
Layer's inputs count. - function
- Type: Accord.NeuroIActivationFunction
Activation function of neurons of the layer.
Remarks The new layer is randomized (see
Randomize
method) after it is created.
See Also