Skip to content

MSVC support #13

@vdemichev

Description

@vdemichev

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*));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions