aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-08-27 20:43:23 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-08-27 20:43:23 -0500
commit8daf85f463d159b2b69939233c18760d72b6f4ab (patch)
tree019641bf7eac5fbbad66d2116a2402f1b008f19f /src/util.h
parent624c04b33afff299121a5ded475070a2f0236cff (diff)
add: data and network initialization done
train subcommand can read and train the network TODO: - Refactor json_read() to parse multiple labels - Implement a function to save network weights once the network have trained - Implement a function to load trained weights to use with predict subcommand
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 00567a8..3219502 100644
--- a/src/util.h
+++ b/src/util.h
@@ -21,6 +21,7 @@ struct Configs {
char **activations;
};
+void usage(int exit_code);
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
void *erealloc(void *ptr, size_t size);
Feel free to download, copy and edit any repo