I want to know the difference between theses two declarations of these arrays, one is defined like this (double array[a][b][c][d]
), the other one is different (double array[a*b*c][d]
)
double weight4_5[LAYER4][LAYER5][LENGTH_KERNEL][LENGTH_KERNEL];
double weight5_6[LAYER5 * LENGTH_FEATURE5 * LENGTH_FEATURE5][OUTPUT];
if i want to load values to these two arrays with for loops, how can i do it ?