array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.fann-get-total-neurons.php', 1 => 'fann_get_total_neurons', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann Functions', ), 'prev' => array ( 0 => 'function.fann-get-total-connections.php', 1 => 'fann_get_total_connections', ), 'next' => array ( 0 => 'function.fann-get-train-error-function.php', 1 => 'fann_get_train_error_function', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-get-total-neurons.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_get_total_neurons — Get the total number of neurons in the entire network
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.
ann
Neural network resource.
Total number of neurons in the entire network, or false
on error.