MMALIB User Guide
MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs Struct Reference

Detailed Description

Definition at line 199 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

Data Fields

int8_t funcStyle
 Variant of the function refer to MMALIB_FUNCTION_STYLE
More...
 
int8_t shift
 Scalar value to scale output
More...
 
int32_t bias
 Bias values added to output
More...
 
int8_t activationType
 Output activation type: Saturation or ReLU
More...
 
int32_t Ni
 Value of \( N_i\) used in natural C code only. More...
 
int32_t kDimRows
 Value of \( N_i + \) number of bias rows. More...
 
bool multiPassX
 flag signifies feature matrix \( (X) \) cannot be fit in memory; therefore, compute is broken down by processing the matrix in chunks More...
 
bool multiPassH
 flag signifies kernel matrix \( (H) \) cannot be fit in memory; therefore, compute is broken down by processing the matrix in chunks More...
 
void * bufCAccum_cn
 Buffer pointer to hold partially accumulated values in multi-pass case. More...
 

Field Documentation

◆ funcStyle

int8_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::funcStyle

Variant of the function refer to MMALIB_FUNCTION_STYLE

Definition at line 201 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ shift

int8_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::shift

Scalar value to scale output

Definition at line 203 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ bias

int32_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::bias

Bias values added to output

Definition at line 205 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ activationType

int8_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::activationType

Output activation type: Saturation or ReLU

Definition at line 207 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ Ni

int32_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::Ni

Value of \( N_i\) used in natural C code only.

Definition at line 209 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ kDimRows

int32_t MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::kDimRows

Value of \( N_i + \) number of bias rows.

Definition at line 211 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ multiPassX

bool MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::multiPassX

flag signifies feature matrix \( (X) \) cannot be fit in memory; therefore, compute is broken down by processing the matrix in chunks

Definition at line 214 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ multiPassH

bool MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::multiPassH

flag signifies kernel matrix \( (H) \) cannot be fit in memory; therefore, compute is broken down by processing the matrix in chunks

Definition at line 217 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.

◆ bufCAccum_cn

void* MMALIB_CNN_fullyConnected_ixX_ixX_oxX_InitArgs::bufCAccum_cn

Buffer pointer to hold partially accumulated values in multi-pass case.

Definition at line 219 of file MMALIB_CNN_fullyConnected_ixX_ixX_oxX.h.