Noodle
Loading...
Searching...
No Matches
ConvProgmem Struct Reference

Near-PROGMEM convolution parameter bundle. More...

#include <noodle.h>

Public Attributes

uint16_t K = 3
 Kernel width.
uint16_t P = 0
 Padding per side; 65535 requests SAME-style 2D padding.
uint16_t S = 1
 Convolution stride.
uint16_t OP = 0
 Reserved output padding field for layout parity.
const float * weight = nullptr
 PROGMEM pointer to packed weights.
const float * bias = nullptr
 PROGMEM pointer to biases, or nullptr.
Activation act = ACT_RELU
 Activation applied after adding bias.

Detailed Description

Near-PROGMEM convolution parameter bundle.

This is intended for small or medium AVR flash arrays that can be addressed by pgm_read_float_near(). The packed layouts match ConvMem.

Member Data Documentation

◆ act

Activation ConvProgmem::act = ACT_RELU

Activation applied after adding bias.

◆ bias

const float* ConvProgmem::bias = nullptr

PROGMEM pointer to biases, or nullptr.

◆ K

uint16_t ConvProgmem::K = 3

Kernel width.

◆ OP

uint16_t ConvProgmem::OP = 0

Reserved output padding field for layout parity.

◆ P

uint16_t ConvProgmem::P = 0

Padding per side; 65535 requests SAME-style 2D padding.

◆ S

uint16_t ConvProgmem::S = 1

Convolution stride.

◆ weight

const float* ConvProgmem::weight = nullptr

PROGMEM pointer to packed weights.


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