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_num_inputfann_get_num_output>
^Fann FunctionsLast updated: Mon, 26 Oct 2026

fann_get_num_layers

(PECL fann >= 1.0.0)

fann_get_num_layers — Get the number of layers in the neural network

Description

function fann_get_num_layers(resource $ann): int

Get the number of layers in the neural network.

Parameters

ann

Neural network resource.

Return Values

The number of layers in the neural network, or false on error.


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