mirror of
https://github.com/augustin64/projet-tipe
synced 2025-02-02 19:39:39 +01:00
Update test/cnn_structure.c
This commit is contained in:
parent
df39c2c299
commit
7aa4ab9403
@ -21,7 +21,6 @@ int main() {
|
||||
kernel = network->kernel[i];
|
||||
if ((!kernel->cnn)&&(!kernel->nn)) {
|
||||
printf("\n==== Couche %d de type "YELLOW"Pooling"RESET" ====\n", i);
|
||||
printf("Linéarisation: %d\n", kernel->linearisation);
|
||||
} else if (!kernel->cnn) {
|
||||
printf("\n==== Couche %d de type "GREEN"NN"RESET" ====\n", i);
|
||||
printf("input: %d\n", kernel->nn->input_units);
|
||||
@ -32,8 +31,12 @@ int main() {
|
||||
printf("rows: %d\n", kernel->cnn->rows);
|
||||
printf("columns: %d\n", kernel->cnn->columns);
|
||||
}
|
||||
if (kernel->linearisation) {
|
||||
printf(YELLOW"Linéarisation: %d\n"RESET, kernel->linearisation);
|
||||
}
|
||||
printf("width: %d\n", network->width[i]);
|
||||
printf("depth: %d\n", network->depth[i]);
|
||||
printf("activation: %d\n", kernel->activation);
|
||||
}
|
||||
printf(GREEN "\nOK\n" RESET);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user