php8.5
Home/ Manual/ fann / functions/ fann_run

fann_run

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Will run input through the neural network

Description

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

Description

input

Array of input values

Return Values

Array of output values, or false on error

Source: reference/fann/functions/fann-run.xml · from the official PHP manual (php/doc-en)