fann_get_num_layers

(PECL fann >= 1.0.0)

fann_get_num_layersGet the number of layers in the neural network

说明

int fann_get_num_layers ( resource $ann )

Get the number of layers in the neural network.

参数

ann

Neural network resource.

返回值

The number of leayers in the neural network, or FALSE on error.