From 7aa4ab9403928051b5ded26666e63e132eb64a16 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Fri, 13 Jan 2023 15:59:04 +0100 Subject: [PATCH] Update test/cnn_structure.c --- test/cnn_structure.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/cnn_structure.c b/test/cnn_structure.c index eb47d05..5584377 100644 --- a/test/cnn_structure.c +++ b/test/cnn_structure.c @@ -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);