fann_create_shortcut

Name

fann_create_shortcut -- Create a new artificial neural network with shortcut connections, and return a pointer to it.

Description

struct fann * fann_create_shortcut(float learning_rate, unsigned int num_layers, unsigned int ...);

fann_create_shortcut will create a new artificial neural network, and return a pointer to it. The network will be fully connected, and will furthermore have all shortcut connections connected.

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.

The num_layers is the number of layers including the input and output layer. This parameter is followed by one parameter for each layer telling how many neurons there should be in the layer.

This function appears in FANN >= 1.2.0.


SourceForge.net Logo