Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<fann_get_errstrfann_get_learning_momentum>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_get_layer_array

(PECL fann >= 1.0.0)

fann_get_layer_array — Get the number of neurons in each layer in the network

Description

function fann_get_layer_array(resource $ann): array

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 layer


<fann_get_errstrfann_get_learning_momentum>
^Fann FunctionsLast updated: Mon, 26 Oct 2026