diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-07-10 22:40:05 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-07-10 22:40:05 -0500 |
commit | 29f97864e1b0ef142249898b39332b26a5fb4906 (patch) | |
tree | f133891c532c819910cfa1a46a38480981287ac2 /src/neural.h |
add: json file function implemented
Diffstat (limited to 'src/neural.h')
-rw-r--r-- | src/neural.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <stdlib.h> +#include <stdint.h> + +typedef struct Layer { + double *weights; + double (*activation)(double x); + size_t neurons; +} Layer; +#endif |