FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
Loading...
Searching...
No Matches
FlexNN::Layers::Pool1DParams Struct Reference

Parameters for pooling layers (Max and Avg share this POD). More...

#include <LayerTypes.hpp>

Public Attributes

int channels = 0
 
int kernelSize = 0
 
int stride = 1
 Default 1 to avoid div-by-zero in L_out.
 
int padding = 0
 

Detailed Description

Parameters for pooling layers (Max and Avg share this POD).

No weights. channels is both C_in and C_out (preserved).

Member Data Documentation

◆ channels

int FlexNN::Layers::Pool1DParams::channels = 0

◆ kernelSize

int FlexNN::Layers::Pool1DParams::kernelSize = 0

◆ padding

int FlexNN::Layers::Pool1DParams::padding = 0

◆ stride

int FlexNN::Layers::Pool1DParams::stride = 1

Default 1 to avoid div-by-zero in L_out.


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