24#define ML_MAX_LAYERS 8
Matrix operations and mathematical utilities.
Vec4 ml_forward(ML_Network *net, Vec4 input)
Perform forward propagation.
float ml_train_step(ML_Network *net, Vec4 input, Vec4 target)
Train the network on a single sample.
void ml_init(ML_Network *net, int num_layers, float learning_rate)
Initialize a new network.
Represents a single fully connected layer 4 inputs -> 4 outputs.
A neural network composed of multiple layers.
A 4x4 matrix for 3D transformations.
4D vector storage type (16 bytes, naturally aligned).