We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f0c60 commit 487ad8aCopy full SHA for 487ad8a
src/demo.c
@@ -221,7 +221,7 @@ void network_demo(int argc, char *argv[]) {
221
222
size_t sizes_static[] = {2, 2, 1};
223
network = network_new(nb_layers, sizes_static);
224
- network_sgd(&network, &dataset, 100000, 4, 1.f, 0.5, &dataset, 1, 1, 0);
+ network_sgd(&network, &dataset, 100000, 4, 1.f, 0.5, &dataset, 0, 0, 0);
225
} else if (!strcmp("add", argv[2])) {
226
// --- Create dataset---
227
dataset_new(&dataset, 8);
@@ -237,7 +237,7 @@ void network_demo(int argc, char *argv[]) {
237
238
size_t sizes_static[] = {3, 3, 2};
239
240
- network_sgd(&network, &dataset, 1000, 4, 12.f, 0.5, &dataset, 1, 1, 0);
+ network_sgd(&network, &dataset, 1000, 4, 12.f, 0.5, &dataset, 0, 0, 0);
241
}
242
network_print_results(network, dataset);
243
0 commit comments