PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

fann_get_total_neurons

(PECL fann >= 1.0.0)

fann_get_total_neuronsGet the total number of neurons in the entire network

Description

int fann_get_total_neurons ( resource $ann )

Get 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.

Parameters

ann

Neural network resource.

Return Values

Total number of neurons in the entire network, or FALSE on error.

PHP Manual