alib
Universal C Library Collection for Machine Learning & Artificial Intelligence
Loading...
Searching...
No Matches
Data Fields
nn_neural_network Struct Reference

Structure representing a neural network. More...

#include <nn.h>

Collaboration diagram for nn_neural_network:
Collaboration graph
[legend]

Data Fields

calc_function activation
 
la_matrixas
 
la_matrixbs
 
la_matrixdas
 
la_matrixdbs
 
la_matrixdws
 
size_t layer_count
 
double learning_rate
 
la_matrixws
 

Detailed Description

Structure representing a neural network.

This structure holds all the parameters and intermediate values of a neural network.

Definition at line 24 of file nn.h.

Field Documentation

◆ activation

calc_function nn_neural_network::activation

The activation function used in the neural network.

Definition at line 27 of file nn.h.

◆ as

la_matrix* nn_neural_network::as

Array of activation matrices for each layer.

Definition at line 32 of file nn.h.

◆ bs

la_matrix* nn_neural_network::bs

Array of bias matrices for each layer.

Definition at line 31 of file nn.h.

◆ das

la_matrix* nn_neural_network::das

Array of activation gradient matrices for each layer.

Definition at line 35 of file nn.h.

◆ dbs

la_matrix* nn_neural_network::dbs

Array of bias gradient matrices for each layer.

Definition at line 34 of file nn.h.

◆ dws

la_matrix* nn_neural_network::dws

Array of weight gradient matrices for each layer.

Definition at line 33 of file nn.h.

◆ layer_count

size_t nn_neural_network::layer_count

The number of layers in the neural network.

Definition at line 25 of file nn.h.

◆ learning_rate

double nn_neural_network::learning_rate

The learning rate for training the neural network.

Definition at line 29 of file nn.h.

◆ ws

la_matrix* nn_neural_network::ws

Array of weight matrices for each layer.

Definition at line 30 of file nn.h.


The documentation for this struct was generated from the following file: