Skip to content

neuralNetwork neuralNetwork

GitHub Action edited this page Jul 9, 2026 · 1 revision

Constructors

neuralNetwork(std::vector<size_t> dimensions)

Initializes a new neural network following the dimensions passed as paramaters.

neuralNetwork(std::pair<std::filesystem::path, std::vector<std::filesystem::path>> input)

Reads saved neural network from the inputed filepaths. input.first is the dimensions of the network and input.second is a vector of each file for each layer of the network.


Basic Info

A feed forward neural network class.

Instance Variables

Variable Type
network std::vector<layer>
dimensions std::vector<size_t>

Functions


Example

// Initializing a neural network
neuralNetwork n("thegreatestneuralnetworktoeverlive.bin");

Clone this wiki locally