mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 23:26:25 +01:00
Add network equality test
This commit is contained in:
parent
a478a454fd
commit
f52c853f8e
@ -6,6 +6,7 @@
|
||||
#include "../src/colors.h"
|
||||
#include "../src/cnn/neuron_io.c"
|
||||
#include "../src/cnn/creation.c"
|
||||
#include "../src/cnn/utils.c"
|
||||
|
||||
|
||||
|
||||
@ -22,14 +23,12 @@ int main() {
|
||||
Network* network2 = read_network(".test-cache/cnn_neuron_io.bin");
|
||||
printf("OK\n");
|
||||
|
||||
/*
|
||||
printf("Vérification de l'égalité des réseaux\n");
|
||||
if (! equals_networks(network, network2)) {
|
||||
printf_error("Les deux réseaux obtenus ne sont pas égaux.\n");
|
||||
exit(1);
|
||||
}
|
||||
printf("OK\n");
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user