From cad730cb1ef9cbb1cbe48c406029f2e5897ff676 Mon Sep 17 00:00:00 2001 From: Julien Chemillier Date: Tue, 26 Apr 2022 11:39:29 +0200 Subject: [PATCH] Reorganisation of files --- src/mnist/{ => include}/mnist.h | 0 src/mnist/{ => include}/neural_network.h | 2 +- src/mnist/{struct => include}/neuron.h | 0 src/mnist/{ => include}/neuron_io.h | 3 ++- src/mnist/{ => include}/preview.h | 0 src/mnist/neural_network.c | 2 +- src/mnist/neuron_io.c | 2 +- 7 files changed, 5 insertions(+), 4 deletions(-) rename src/mnist/{ => include}/mnist.h (100%) rename src/mnist/{ => include}/neural_network.h (96%) rename src/mnist/{struct => include}/neuron.h (100%) rename src/mnist/{ => include}/neuron_io.h (93%) rename src/mnist/{ => include}/preview.h (100%) diff --git a/src/mnist/mnist.h b/src/mnist/include/mnist.h similarity index 100% rename from src/mnist/mnist.h rename to src/mnist/include/mnist.h diff --git a/src/mnist/neural_network.h b/src/mnist/include/neural_network.h similarity index 96% rename from src/mnist/neural_network.h rename to src/mnist/include/neural_network.h index b580268..b885a42 100644 --- a/src/mnist/neural_network.h +++ b/src/mnist/include/neural_network.h @@ -5,7 +5,7 @@ #include #include -#include "struct/neuron.h" +#include "neuron.h" #ifndef DEF_NEURAL_NETWORK_H #define DEF_NEURAL_NETWORK_H diff --git a/src/mnist/struct/neuron.h b/src/mnist/include/neuron.h similarity index 100% rename from src/mnist/struct/neuron.h rename to src/mnist/include/neuron.h diff --git a/src/mnist/neuron_io.h b/src/mnist/include/neuron_io.h similarity index 93% rename from src/mnist/neuron_io.h rename to src/mnist/include/neuron_io.h index 362642d..4a73243 100644 --- a/src/mnist/neuron_io.h +++ b/src/mnist/include/neuron_io.h @@ -2,7 +2,8 @@ #include #include #include -#include "struct/neuron.h" + +#include "neuron.h" #ifndef DEF_NEURON_IO_H #define DEF_NEURON_IO_H diff --git a/src/mnist/preview.h b/src/mnist/include/preview.h similarity index 100% rename from src/mnist/preview.h rename to src/mnist/include/preview.h diff --git a/src/mnist/neural_network.c b/src/mnist/neural_network.c index f76d07a..cc58699 100644 --- a/src/mnist/neural_network.c +++ b/src/mnist/neural_network.c @@ -6,7 +6,7 @@ #include #include -#include "struct/neuron.h" +#include "include/neuron.h" // Définit le taux d'apprentissage du réseau neuronal, donc la rapidité d'adaptation du modèle (compris entre 0 et 1) // Cette valeur peut évoluer au fur et à mesure des époques (linéaire c'est mieux) diff --git a/src/mnist/neuron_io.c b/src/mnist/neuron_io.c index 500966d..1a76379 100644 --- a/src/mnist/neuron_io.c +++ b/src/mnist/neuron_io.c @@ -3,7 +3,7 @@ #include #include -#include "struct/neuron.h" +#include "include/neuron.h" #define MAGIC_NUMBER 2023