Repository navigation
neuralNetwork neuralNetwork
GitHub Action edited this page Jul 9, 2026
·
1 revision
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.
A feed forward neural network class.
| Variable | Type |
|---|---|
network |
std::vector<layer> |
dimensions |
std::vector<size_t> |
// Initializing a neural network
neuralNetwork n("thegreatestneuralnetworktoeverlive.bin");- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility