fann_run

(PECL fann >= 1.0.0)

fann_runWill run input through the neural network

Опис

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.

Параметри

ann

Ресурс (resource) нейронної мережі.

input

Array of input values

Значення, що повертаються

Array of output values, or false on error