cbasedann/network.h

15 lines
No EOL
439 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 *neurons_per_layer; //keeps track of number of layers' neurons
};
Neuron *generate_layer(int n_neurons, int n_neurons_prev_layer);
Network *init_network(int n_neurons_per_layer[]);
#endif