OCR Project
Loading...
Searching...
No Matches
CNN Struct Reference

Full CNN state: weights, gradients, momentum buffers, activations. More...

#include <cnn.h>

Collaboration diagram for CNN:

Public Attributes

CNNWeights weights
CNNWeights grads
CNNWeights velocity
CNNActivations act
int batch_count

Detailed Description

Full CNN state: weights, gradients, momentum buffers, activations.

Member Data Documentation

◆ act

CNNActivations CNN::act

Forward-pass activations.

◆ batch_count

int CNN::batch_count

Number of backward() calls since last update().

◆ grads

CNNWeights CNN::grads

Accumulated gradients (reset each batch).

◆ velocity

CNNWeights CNN::velocity

Momentum velocity buffer.

◆ weights

CNNWeights CNN::weights

Current learnable parameters.


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