Change in comment of 'struct.h'

This commit is contained in:
julienChemillier 2023-05-14 14:09:40 +02:00
parent db9eff9087
commit 815a87ee1e

View File

@ -12,18 +12,18 @@
typedef struct Kernel_cnn {
// Noyau ayant une couche matricielle en sortie
int k_size; // k_size = input_width - output_width + 1
int k_size; // k_size = 2*padding + input_width + stride - output_width*stride
int rows; // Depth de l'input
int columns; // Depth de l'output
float*** bias; // bias[columns][output_width][output_width] <=> bias[depth output][dim output][dim output]
float*** bias; // bias[columns][output_width][output_width] <=> bias[output depth][output width][output width]
float*** d_bias; // d_bias[columns][output_width][output_width]
#ifdef ADAM_CNN_BIAS
float*** s_d_bias; // s_d_bias[columns][output_width][output_width]
float*** v_d_bias; // v_d_bias[columns][output_width][output_width]
#endif
float**** weights; // weights[rows][columns][k_size][k_size] <=> weights[depth input][depth output][size kernel][size kernel]
float**** weights; // weights[rows][columns][k_size][k_size] <=> weights[input depth][output depth][kernel size][kernel size]
float**** d_weights; // d_weights[rows][columns][k_size][k_size]
#ifdef ADAM_CNN_WEIGHTS
float**** s_d_weights; // s_d_weights[rows][columns][k_size][k_size]