aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-08-23 12:25:46 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-08-23 12:25:46 -0500
commitca92314f00cb41c3d9d2976cfc819b359d53cda1 (patch)
tree7489a3b7c477809ed6db310a499d5545118efe10 /src/util.h
parent23e665000e876f9ff8b521a060b0cdb7e58287cb (diff)
add: basic configuration parsing implemented
parameters implemented: - input_keys - label_keys - epochs - labels - weights_path Network weights and architecture loading is not implemented yet.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index e1bcf18..980895f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -8,6 +8,7 @@ struct Configs {
double alpha;
char **input_keys, **label_keys;
size_t n_input_keys, n_label_keys;
+ char *loss;
char *in_filepath;
char *out_filepath;
char *weights_filepath;
@@ -17,6 +18,6 @@ struct Configs {
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
void util_load_cli(struct Configs *ml, int argc, char *argv[]);
-void util_load_config(struct Configs *ml);
+void util_load_config(struct Configs *ml, char *filepath);
void util_free_config(struct Configs *ml);
#endif
Feel free to download, copy and edit any repo