fann_set_activation_function_layerSets the activation function for all the neurons in the supplied layer
&reftitle.description;
boolfann_set_activation_function_layerresourceannintactivation_functionintlayer
Set the activation function for all the neurons in the layer number layer, counting the input layer as layer 0.
It is not possible to set activation functions for the neurons in the input layer.
&reftitle.parameters;
ann
&fann.ann.description;
activation_function
The activation functions constant.
layer
Layer number.
&reftitle.returnvalues;
&fann.return.bool;
&reftitle.seealso;
fann_set_activation_functionfann_set_activation_function_hiddenfann_set_activation_function_outputfann_set_activation_steepness