(PECL fann >= 1.0.0)
fann_get_total_neurons — Get the total number of neurons in the entire network
$ann
) : intGet the total number of neurons in the entire network. This number does also include the bias neurons, so a 2-4-2 network has 2+4+2 +2(bias) = 10 neurons.
ann
Ресурс (resource) нейронной сети.
Total number of neurons in the entire network, or FALSE
on error.