Click or drag to resize
Accord.NET (logo)

ActivationLayerSetActivationFunction Method

Set new activation function for all neurons of the layer.

Namespace:  Accord.Neuro
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public void SetActivationFunction(
	IActivationFunction function
)
Request Example View Source

Parameters

function
Type: Accord.NeuroIActivationFunction
Activation function to set.
Remarks

The methods sets new activation function for each neuron by setting their ActivationFunction property.

See Also