Link Search Menu Expand Document

Neural network

Presentation

StraightforwardNeuralNetwork is the main class of the library.

Declaration

This is the constructor used to create a neural network.

StraightforwardNeuralNetwork::StraightforwardNeuralNetwork(vector<LayerModel> models);

Arguments

Here is an example of neural networks.

StraightforwardNeuralNetwork neuralNetwork({
        Input(4),
        FullyConnected(15),
        FullyConnected(5),
        FullyConnected(3)
    });