diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-08 08:55:34 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-08 08:55:34 -0500 |
commit | fff35116eed83c9368e8bd07d02c9e95c447e018 (patch) | |
tree | 1394111719a7482348b6c871cdac5d856685df01 /src/nn.h | |
parent | aeb27a882087ee447a155bd589bd3712050a16f5 (diff) |
add: activation and cost functions added
Training function were fixed and new activation and cost function were
implemented
Diffstat (limited to 'src/nn.h')
-rw-r--r-- | src/nn.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ #include <openblas/cblas.h> struct Cost { - double (*func)(double labels, double net_out); + double (*func)(double labels[], double net_out[], size_t shape); double (*dfunc_out)(double labels, double net_out); }; |