php8.5
Home/ Manual/ fann / functions/ fann_create_shortcut_array

fann_create_shortcut_array

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Creates a standard backpropagation neural network which is not fully connected and has shortcut connections

Description

fann_create_shortcut_array(int $num_layers, array $layers): resource

Creates a standard backpropagation neural network which is not fully connected and has shortcut connections using an array of layers sizes.

Parameters

num_layers

The total number of layers including the input and the output layer.

layers

An array of layers sizes.

Return Values

Returns a neural network resource on success, or false on error.

See Also

Source: reference/fann/functions/fann-create-shortcut-array.xml · from the official PHP manual (php/doc-en)