mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 23:26:25 +01:00
Update utils.c
This commit is contained in:
parent
e2e12ca78f
commit
af02b87345
@ -9,7 +9,7 @@
|
||||
void print_biais(char* filename) {
|
||||
Reseau* reseau = lire_reseau(".cache/reseau.bin");
|
||||
|
||||
for (int i=0; i < reseau->nb_couches; i++) {
|
||||
for (int i=1; i < reseau->nb_couches -1; i++) {
|
||||
printf("Couche %d\n", i);
|
||||
for (int j=0; j < reseau->couches[i]->nb_neurones; j++) {
|
||||
printf("Couche %d\tNeurone %d\tBiais: %0.1f\n", i, j, reseau->couches[i]->neurones[j]->biais);
|
||||
@ -17,7 +17,7 @@ void print_biais(char* filename) {
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, int* argv) {
|
||||
int main(int argc, char* argv[]) {
|
||||
print_biais(".cache/reseau.bin");
|
||||
return 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user