aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 980895f..d5cb403 100644
--- a/src/util.h
+++ b/src/util.h
@@ -4,15 +4,21 @@
#include <stddef.h>
struct Configs {
+ /* net cfgs */
size_t epochs;
double alpha;
+ char *loss;
char **input_keys, **label_keys;
size_t n_input_keys, n_label_keys;
- char *loss;
- char *in_filepath;
- char *out_filepath;
char *weights_filepath;
char *config_filepath;
+ /* cli cfgs */
+ char *in_filepath;
+ char *out_filepath;
+ /* layer cfgs */
+ size_t network_size;
+ size_t *neurons;
+ char **activations;
};
void die(const char *fmt, ...);
Feel free to download, copy and edit any repo