fann_get_layer_array

(PECL fann >= 1.0.0)

fann_get_layer_arrayGet the number of neurons in each layer in the network

说明

array fann_get_layer_array ( resource $ann )

Get the number of neurons in each layer in the neural network.

Bias is not included so the layers match the fann_create functions.

参数

ann

Neural network resource.

返回值

An array of numbers of neurons in each leayer