aboutsummaryrefslogtreecommitdiff
path: root/src/neural.h
blob: 4456907149fef6d83a18d060ea39082c3256ed29 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
Feel free to download, copy and edit any repo