aboutsummaryrefslogtreecommitdiff
path: root/src/neural.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-07-12 10:50:32 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-07-12 10:50:32 -0500
commit46f8c9bed801355ecd85c14ea7a7f11d38f1e5ba (patch)
tree4037623fabea06bda36ba7193293ea605bb88aca /src/neural.h
parent29f97864e1b0ef142249898b39332b26a5fb4906 (diff)
add: weights initialization and deallocation done
Diffstat (limited to 'src/neural.h')
-rw-r--r--src/neural.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/neural.h b/src/neural.h
deleted file mode 100644
index 4456907..0000000
--- a/src/neural.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef __NEURAL__
-#define __NEURAL__
-
-#include <stdlib.h>
-#include <stdint.h>
-
-typedef struct Layer {
- double *weights;
- double (*activation)(double x);
- size_t neurons;
-} Layer;
-#endif
Feel free to download, copy and edit any repo