Fann Functions
PHP Manual

fann_get_layer_array

(PECL fann >= 1.0.0)

fann_get_layer_arrayGet the number of neurons in each layer in the network

Description

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.

Parameters

ann

Neural network resource.

Return Values

An array of numbers of neurons in each leayer


Fann Functions
PHP Manual