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

File-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 char * weight_fn = nullptr
 
const char * bias_fn = nullptr
 
Activation act = ACT_RELU
 

Detailed Description

File-backed convolution parameters.

File-backed parameters

The weight and bias files are read sequentially:

  • weight_fn stores kernels ordered by output-major then input-major.
  • bias_fn stores one scalar bias per output channel.

Member Data Documentation

◆ act

Activation Conv::act = ACT_RELU

◆ bias_fn

const char* Conv::bias_fn = nullptr

◆ K

uint16_t Conv::K

Kernel size.

◆ P

uint16_t Conv::P = 0

Padding.

◆ S

uint16_t Conv::S = 1

Stride.

◆ weight_fn

const char* Conv::weight_fn = nullptr

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