MMALIB User Guide
MMALIB_CNN_convolve_row_ixX_ixX_oxX_ExecOutArgs Struct Reference

Detailed Description

Structure containing the parameters for output from the execute phase of CNN convolution computation.

Definition at line 246 of file MMALIB_CNN_convolve_row_ixX_ixX_oxX.h.

Data Fields

int32_t validColsOut
 Valid columns out in a row of output feature maps for one call of processing of the kernel for non strided convolution. More...
 
int32_t validColsPerRowOut
 Valid columns in a row of output feature maps for one call of processing of the kernel for strided convolution. More...
 
int32_t validRowsOut
 Valid output rows of output feature maps for one call of processing of the kernel for strided convolution for execute phase ((validRowsIn - Fr - (Fr - 1U)*(DilationY - 1U))/StrideX) + 1U
More...
 

Field Documentation

◆ validColsOut

int32_t MMALIB_CNN_convolve_row_ixX_ixX_oxX_ExecOutArgs::validColsOut

Valid columns out in a row of output feature maps for one call of processing of the kernel for non strided convolution.

  • validColsOut output pixels generated will be (validColsIn - (Lc +Pi/2)*Pi - Pi)
  • In case the following layer has pad Po > Pi The validColsOut generated will be (Ip' - (Lc +Po/2)*Po- Po)

Definition at line 255 of file MMALIB_CNN_convolve_row_ixX_ixX_oxX.h.

◆ validColsPerRowOut

int32_t MMALIB_CNN_convolve_row_ixX_ixX_oxX_ExecOutArgs::validColsPerRowOut

Valid columns in a row of output feature maps for one call of processing of the kernel for strided convolution.

  • (Ip - Pi/2 + StrideX - 1)/StrideX

Definition at line 259 of file MMALIB_CNN_convolve_row_ixX_ixX_oxX.h.

◆ validRowsOut

int32_t MMALIB_CNN_convolve_row_ixX_ixX_oxX_ExecOutArgs::validRowsOut

Valid output rows of output feature maps for one call of processing of the kernel for strided convolution for execute phase ((validRowsIn - Fr - (Fr - 1U)*(DilationY - 1U))/StrideX) + 1U

Definition at line 263 of file MMALIB_CNN_convolve_row_ixX_ixX_oxX.h.