From 0a73f0550da35db8d2d283e68dc12465ccf73d3c Mon Sep 17 00:00:00 2001 From: Julien Chemillier Date: Fri, 1 Apr 2022 15:52:04 +0200 Subject: [PATCH] Fix struct/neuron.h --- src/mnist/struct/neuron.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mnist/struct/neuron.h b/src/mnist/struct/neuron.h index b87e320..e9f4acf 100644 --- a/src/mnist/struct/neuron.h +++ b/src/mnist/struct/neuron.h @@ -1,3 +1,6 @@ +#ifndef DEF_NEURON_H +#define DEF_NEURON_H + typedef struct Neurone{ float activation; // CaractĂ©rise l'activation du neurone float* poids_sortants; // Liste de tous les poids des arĂȘtes sortants du neurone @@ -20,3 +23,5 @@ typedef struct Reseau{ int nb_couches; Couche** couches; } Reseau; + +#endif \ No newline at end of file