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

Memory-backed convolution parameters. More...

#include <noodle.h>

Public Attributes

uint16_t K
 Kernel size.
 
uint16_t P = 0
 Padding.
 
uint16_t S = 1
 Stride.
 
const float * weight = nullptr
 
const float * bias = nullptr
 
Activation act = ACT_RELU
 

Detailed Description

Memory-backed convolution parameters.

Variable-backed parameters

The weight array is laid out as (O * n_inputs + I) * (K*K) contiguous floats (output-major). The bias array stores n_outputs floats.

Member Data Documentation

◆ act

Activation ConvMem::act = ACT_RELU

◆ bias

const float* ConvMem::bias = nullptr

◆ K

uint16_t ConvMem::K

Kernel size.

◆ P

uint16_t ConvMem::P = 0

Padding.

◆ S

uint16_t ConvMem::S = 1

Stride.

◆ weight

const float* ConvMem::weight = nullptr

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