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

ニューラルネットワークリソース。

input

Array of input values

返り値

Array of output values, or FALSE on error