fann_sys::fann_set_activation_function_layer [] [src]

pub unsafe extern fn fann_set_activation_function_layer(ann: *mut fann, activation_function: fann_activationfunc_enum, layer: c_int)

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.

See also

fann_set_activation_function, fann_set_activation_function_hidden, fann_set_activation_function_output, fann_set_activation_steepness_layer

This function appears in FANN >= 2.0.0.