diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-08-26 12:12:40 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-08-26 12:12:40 -0500 |
commit | e8624e1ebcabcc831d651e0beefe32df1463c903 (patch) | |
tree | a5fb8f491b30c01bc301cf0e5c7558cb4497b2b2 /src/nn.h | |
parent | 65926438256c1ed46993e1c8611597af5a9c23f1 (diff) |
add: mini batch learning implemented
Diffstat (limited to 'src/nn.h')
-rw-r--r-- | src/nn.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,8 @@ void nn_network_train( Layer network[], size_t network_size, double *input, size_t input_shape[2], double *labels, size_t labels_shape[2], - struct Cost cost, size_t epochs, double alpha); + struct Cost cost, size_t epochs, + size_t batch_size, double alpha); void nn_layer_map_activation( double (*activation)(double), |