From 29f97864e1b0ef142249898b39332b26a5fb4906 Mon Sep 17 00:00:00 2001 From: jvech Date: Mon, 10 Jul 2023 22:40:05 -0500 Subject: add: json file function implemented --- src/neural.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/neural.h (limited to 'src/neural.h') diff --git a/src/neural.h b/src/neural.h new file mode 100644 index 0000000..4456907 --- /dev/null +++ b/src/neural.h @@ -0,0 +1,12 @@ +#ifndef __NEURAL__ +#define __NEURAL__ + +#include +#include + +typedef struct Layer { + double *weights; + double (*activation)(double x); + size_t neurons; +} Layer; +#endif -- cgit v1.2.3-70-g09d2