(PECL fann >= 1.0.0)
fann_get_num_layers — Get the number of layers in the neural network
$ann
) : intGet the number of layers in the neural network.
ann
Ресурс (resource) нейронной сети.
The number of leayers in the neural network, or FALSE
on error.