aboutsummaryrefslogtreecommitdiff
path: root/src/mlp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlp.h')
-rw-r--r--src/mlp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mlp.h b/src/mlp.h
index 86c8e061..618e246e 100644
--- a/src/mlp.h
+++ b/src/mlp.h
@@ -31,11 +31,13 @@
#include "arch.h"
typedef struct {
- int layers;
- const int *topo;
- const float *weights;
+ int layers;
+ const int *topo;
+ const float *weights;
} MLP;
+extern const MLP net;
+
void mlp_process(const MLP *m, const float *in, float *out);
#endif /* _MLP_H_ */