php8.5
Home/ Manual/ fann / functions/ fann_get_total_neurons

fann_get_total_neurons

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Get the total number of neurons in the entire network

Description

fann_get_total_neurons(resource $ann): int

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

Description

Return Values

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

Source: reference/fann/functions/fann-get-total-neurons.xml · from the official PHP manual (php/doc-en)