tipe/test/mnist_neural_network.c

22 lines
518 B
C

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include "../src/mnist/neural_network.c"
#include "../src/mnist/neuron_io.c"
int main() {
printf("Création du réseau\n");
Network* network = (Network*)malloc(sizeof(Network));
int tab[5] = {30, 25, 20, 15, 10};
network_creation(network, tab, 5);
printf("OK\n");
printf("Initialisation du réseau\n");
network_initialisation(network);
printf("OK\n");
deletion_of_network(network);
return 0;
}