Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<fann_set_activation_function_layerfann_set_activation_steepness>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_set_activation_function_output

(PECL fann >= 1.0.0)

fann_set_activation_function_output — Sets the activation function for the output layer

Description

function fann_set_activation_function_output(resource $ann, int $activation_function): bool

Sets the activation function for the output layer.

Parameters

ann

Neural network resource.

activation_function

The activation functions constant.

Return Values

Returns true on success, or false otherwise.

See Also


<fann_set_activation_function_layerfann_set_activation_steepness>
^Fann FunctionsLast updated: Mon, 26 Oct 2026