Cannot be compiled with MSVC. Fix: variable length arrays declared on stack can be replaced with memory allocation using alloca(), e.g.
Matrix* errori[network->numLayers];
declaration in batchGradientDescent() (optimizer.h) can be replaced by
Matrix** errori = (Matrix**)alloca(network->numLayers * sizeof(Matrix*));
Cannot be compiled with MSVC. Fix: variable length arrays declared on stack can be replaced with memory allocation using alloca(), e.g.
Matrix* errori[network->numLayers];declaration in batchGradientDescent() (optimizer.h) can be replaced by
Matrix** errori = (Matrix**)alloca(network->numLayers * sizeof(Matrix*));