15 lines
No EOL
421 B
C
15 lines
No EOL
421 B
C
#ifndef NETWORK_H
|
|
#define NETWORK_H
|
|
|
|
typedef struct network Network;
|
|
struct network
|
|
{
|
|
Neuron *layers_first_neurons; //first neuron of each layer of the network
|
|
Neuron *layers_last_neurons; //last neuron of each layer of the network
|
|
int number_layers; //keeps track of layers' number
|
|
};
|
|
|
|
Neuron *generate_layer(int n_neurons, int n_neurons_prev_layer);
|
|
Network *init_network(int n_neurons_per_layer[]);
|
|
|
|
#endif |