diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-09-03 20:08:25 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-09-03 20:08:25 -0500 |
commit | f39f6d5b0a907d519377e70876b32daad1a676f2 (patch) | |
tree | e5462ac42b395e2e9938de53ffbfbf6f0380d3de /src/nn.h | |
parent | e8624e1ebcabcc831d651e0beefe32df1463c903 (diff) |
feat: shuffle dataset on each epoch done
The CLI option to disable it was also added.
Diffstat (limited to 'src/nn.h')
-rw-r--r-- | src/nn.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ void nn_network_train( double *input, size_t input_shape[2], double *labels, size_t labels_shape[2], struct Cost cost, size_t epochs, - size_t batch_size, double alpha); + size_t batch_size, double alpha, + bool shuffle); void nn_layer_map_activation( double (*activation)(double), |