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

fann_get_num_input

(PECL fann >= 1.0.0)

fann_get_num_input — Get the number of input neurons

Description

function fann_get_num_input(resource $ann): int

Get the number of input neurons.

Parameters

ann

Neural network resource.

Return Values

Number of input neurons, or false on error


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