diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-23 12:25:46 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-23 12:25:46 -0500 |
commit | ca92314f00cb41c3d9d2976cfc819b359d53cda1 (patch) | |
tree | 7489a3b7c477809ed6db310a499d5545118efe10 /src/util.h | |
parent | 23e665000e876f9ff8b521a060b0cdb7e58287cb (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |