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_reset_MSEfann_save>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_run

(PECL fann >= 1.0.0)

fann_run — Will run input through the neural network

Description

function fann_run(resource $ann, array $input): array

Will run input through the neural network, returning an array of outputs, the number of which being equal to the number of neurons in the output layer.

Parameters

ann

Neural network resource.

input

Array of input values

Return Values

Array of output values, or false on error


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