|
ActivationNetwork Constructor
|
Namespace:
Accord.Neuro
Assembly:
Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax public ActivationNetwork(
IActivationFunction function,
int inputsCount,
params int[] neuronsCount
)
Public Sub New (
function As IActivationFunction,
inputsCount As Integer,
ParamArray neuronsCount As Integer()
)
Request Example
View SourceParameters
- function
- Type: Accord.NeuroIActivationFunction
Activation function of neurons of the network. - inputsCount
- Type: SystemInt32
Network's inputs count. - neuronsCount
- Type: SystemInt32
Array, which specifies the amount of neurons in
each layer of the neural network.
Remarks The new network is randomized (see
Randomize
method) after it is created.
See Also