fann_get_total_neurons

Get the total number of neurons in the entire network

説明

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.

パラメータ

ann

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

戻り値

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