array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.fann-create-shortcut.php', 1 => 'fann_create_shortcut', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Fann Functions', ), 'prev' => array ( 0 => 'function.fann-create-shortcut-array.php', 1 => 'fann_create_shortcut_array', ), 'next' => array ( 0 => 'function.fann-create-sparse-array.php', 1 => 'fann_create_sparse_array', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-create-shortcut.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
fann_create_shortcut — Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections
$num_layers
,$num_neurons1
,$num_neurons2
,...$num_neuronsN
Creates a standard backpropagation neural network, which is not fully connected and which also has shortcut connections.
Shortcut connections are connections that skip layers. A fully connected network with shortcut connections, is a network where all neurons are connected to all neurons in later layers. Including direct connections from the input layer to the output layer.
num_layers
The total number of layers including the input and the output layer.
num_neurons1
Number of neurons in the first layer.
num_neurons2
Number of neurons in the second layer.
num_neuronsN
Number of neurons in other layers.
Returns a neural network resource on success, or false
on error.